Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9984/0.9984, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00203/0.00203, allocations: 249.6 kB / 260.5 MB, free: 12.7 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7589/0.7589, allocations: 138.4 MB / 402.2 MB, free: 0.5703 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") translateModel(BuildingSystems.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0.5469 kB / 462.4 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.752e-05, allocations: 6.203 kB / 462.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.QuadraticLinear): time 0.002581/0.002608, allocations: 1.595 MB / 464 MB, free: 15.81 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003276/0.002936, allocations: 109.7 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.00297, allocations: 1.375 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 4.61e-05/0.003016, allocations: 0.6094 kB / 464.1 MB, free: 15.74 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 6.801e-05/0.003084, allocations: 15.88 kB / 464.1 MB, free: 15.73 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.003281, allocations: 23.81 kB / 464.1 MB, free: 15.72 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.936e-05/0.00337, allocations: 44.48 kB / 464.1 MB, free: 15.71 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.003452, allocations: 14.92 kB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.00352, allocations: 23.14 kB / 464.2 MB, free: 15.7 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.016e-05/0.00357, allocations: 22.7 kB / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003586, allocations: 2.844 kB / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.00367, allocations: 19.33 kB / 464.2 MB, free: 15.69 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.003731, allocations: 20.17 kB / 464.2 MB, free: 15.68 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.003755, allocations: 9.938 kB / 464.3 MB, free: 15.67 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.003878, allocations: 53.55 kB / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.00388, allocations: 1.031 kB / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.003881, allocations: 0 / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.003885, allocations: 0 / 464.3 MB, free: 15.65 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000321/0.004206, allocations: 270.4 kB / 464.6 MB, free: 15.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.004242, allocations: 9.875 kB / 464.6 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.004272, allocations: 9.281 kB / 464.6 MB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.205e-05/0.004364, allocations: 111.9 kB / 464.7 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.004374, allocations: 2.516 kB / 464.7 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.004382, allocations: 1.812 kB / 464.7 MB, free: 15.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.004501, allocations: 73.91 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004508, allocations: 2.844 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.272e-06/0.004514, allocations: 1.531 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.004521, allocations: 3.844 kB / 464.8 MB, free: 15.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.579e-05/0.004546, allocations: 12.78 kB / 464.8 MB, free: 15.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002317/0.004778, allocations: 168.6 kB / 465 MB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.85e-05/0.004846, allocations: 76.84 kB / 465 MB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.792e-05/0.004864, allocations: 11.27 kB / 465.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.004975, allocations: 25.55 kB / 465.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.004998, allocations: 32.88 kB / 465.1 MB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.004999, allocations: 0 / 465.1 MB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001141/0.005113, allocations: 44.55 kB / 465.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.005141, allocations: 53.78 kB / 465.2 MB, free: 14.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.811e-05/0.005219, allocations: 136.7 kB / 465.3 MB, free: 14.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.00523, allocations: 30.95 kB / 465.4 MB, free: 14.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.555e-05/0.005266, allocations: 88.75 kB / 465.5 MB, free: 14.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.005286, allocations: 13.77 kB / 465.5 MB, free: 14.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.005312, allocations: 13.91 kB / 465.5 MB, free: 14.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.342e-05/0.005405, allocations: 320.2 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.411e-05/0.005419, allocations: 6.453 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.181e-05/0.005431, allocations: 3.047 kB / 465.8 MB, free: 14.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.371e-05/0.005465, allocations: 17.58 kB / 465.8 MB, free: 14.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.005468, allocations: 1.562 kB / 465.8 MB, free: 14.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.844e-05/0.005537, allocations: 45.53 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.005551, allocations: 5.969 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.005557, allocations: 1.781 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.005572, allocations: 7.875 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.005652, allocations: 10.31 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.005655, allocations: 2.281 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.005681, allocations: 6.906 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.005687, allocations: 0.5625 kB / 465.9 MB, free: 14.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.547e-05/0.005753, allocations: 112.5 kB / 466 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.005772, allocations: 4.906 kB / 466 MB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.005879, allocations: 53.34 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.005882, allocations: 3.938 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.113e-06/0.005884, allocations: 2.062 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.005888, allocations: 0.7188 kB / 466.1 MB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.005993, allocations: 75.55 kB / 466.1 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.005996, allocations: 1.625 kB / 466.2 MB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.487e-05/0.00604, allocations: 18.8 kB / 466.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.006044, allocations: 0 / 466.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.006053, allocations: 4.703 kB / 466.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.006054, allocations: 1.312 kB / 466.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.006055, allocations: 0 / 466.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001314/0.006187, allocations: 183.4 kB / 466.4 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.006199, allocations: 7.328 kB / 466.4 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.006212, allocations: 1.953 kB / 466.4 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.908e-05/0.006251, allocations: 5.875 kB / 466.4 MB, free: 13.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.006296, allocations: 10.45 kB / 466.4 MB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.006301, allocations: 6.094 kB / 466.4 MB, free: 13.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.186e-05/0.006333, allocations: 29.81 kB / 466.4 MB, free: 13.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.006333, allocations: 0 / 466.4 MB, free: 13.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001392/0.006472, allocations: 16.02 kB / 466.4 MB, free: 13.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001559/0.006628, allocations: 81.64 kB / 466.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.691e-05/0.006705, allocations: 16.02 kB / 466.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.006709, allocations: 1.531 kB / 466.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.006732, allocations: 10.73 kB / 466.5 MB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.006885, allocations: 11.73 kB / 466.5 MB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002541/0.007139, allocations: 137.7 kB / 466.7 MB, free: 13.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.007179, allocations: 64.81 kB / 466.7 MB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.145e-05/0.0072, allocations: 7.438 kB / 466.8 MB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.007251, allocations: 54.38 kB / 466.8 MB, free: 13.38 MB / 426.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007252, allocations: 0 / 466.8 MB, free: 13.38 MB / 426.7 MB Notification: Performance of Templates: time 0.002829/0.01008, allocations: 0.8198 MB / 467.6 MB, free: 13.16 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5739109250716865]