Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.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.00132/0.00132, allocations: 80.77 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001464/0.001464, allocations: 169 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.451/1.451, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.002436/0.002436, allocations: 237.2 kB / 259.4 MB, free: 468 kB / 238.1 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 1.085/1.085, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.6468 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.001e-05/2.157e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002424/0.002445, allocations: 1.48 MB / 0.6482 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.002706, allocations: 88.55 kB / 0.6483 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.186e-05/0.002738, allocations: 0 / 0.6483 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.032e-05/0.002758, allocations: 0 / 0.6483 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.397e-05/0.002802, allocations: 7.922 kB / 0.6483 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.002979, allocations: 19.97 kB / 0.6483 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.754e-05/0.003046, allocations: 19.94 kB / 0.6484 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.003124, allocations: 11.98 kB / 0.6484 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.003172, allocations: 15.92 kB / 0.6484 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.128e-05/0.003203, allocations: 8 kB / 0.6484 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003217, allocations: 0 / 0.6484 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.003279, allocations: 19.98 kB / 0.6484 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.003291, allocations: 0 / 0.6484 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.003315, allocations: 15.91 kB / 0.6484 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.003421, allocations: 35.89 kB / 0.6485 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.003423, allocations: 0 / 0.6485 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.42e-07/0.003424, allocations: 0 / 0.6485 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.066e-06/0.003427, allocations: 0 / 0.6485 GB, free: 3.305 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.00042/0.003847, allocations: 270.3 kB / 0.6487 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.003879, allocations: 9.344 kB / 0.6487 GB, free: 3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.00403, allocations: 12.92 kB / 0.6487 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.004157, allocations: 121.7 kB / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.004175, allocations: 384 / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.004187, allocations: 384 / 0.6489 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.004387, allocations: 58.22 kB / 0.6489 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004394, allocations: 192 / 0.6489 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.004403, allocations: 384 / 0.6489 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.004408, allocations: 8.375 kB / 0.6489 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002305/0.004639, allocations: 47.89 kB / 0.649 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.004991, allocations: 208.6 kB / 0.6492 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.005176, allocations: 58.36 kB / 0.6492 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.005294, allocations: 28.91 kB / 0.6493 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.005309, allocations: 3.984 kB / 0.6493 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.005338, allocations: 34.56 kB / 0.6493 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.005339, allocations: 0 / 0.6493 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004411/0.00578, allocations: 105.5 kB / 0.6494 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.00582, allocations: 55.41 kB / 0.6494 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.46e-05/0.005904, allocations: 102.2 kB / 0.6495 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.005931, allocations: 33.69 kB / 0.6496 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.005985, allocations: 88.08 kB / 0.6497 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.006002, allocations: 7.938 kB / 0.6497 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.006039, allocations: 13.72 kB / 0.6497 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.006185, allocations: 314.8 kB / 0.65 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.006301, allocations: 27.97 kB / 0.65 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.006417, allocations: 28.03 kB / 0.65 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.006627, allocations: 48.88 kB / 0.6501 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.006629, allocations: 4 kB / 0.6501 GB, free: 1.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002595/0.006888, allocations: 81.55 kB / 0.6502 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.0069, allocations: 4 kB / 0.6502 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.006906, allocations: 7.938 kB / 0.6502 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.006917, allocations: 4.031 kB / 0.6502 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.007022, allocations: 11.98 kB / 0.6502 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.007026, allocations: 0 / 0.6502 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.525e-05/0.007091, allocations: 7.984 kB / 0.6502 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.007096, allocations: 0 / 0.6502 GB, free: 1.359 MB / 0.5606 GB 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 (2): * Single equations (assignments): 2 * 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 9.229e-05/0.007189, allocations: 113.8 kB / 0.6503 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.007215, allocations: 3.984 kB / 0.6503 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.007243, allocations: 7.562 kB / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.007244, allocations: 0 / 0.6503 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.007248, allocations: 8 kB / 0.6503 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.007252, allocations: 3.984 kB / 0.6503 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001586/0.00741, allocations: 105.3 kB / 0.6504 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.007411, allocations: 0 / 0.6504 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.802e-05/0.007499, allocations: 11.98 kB / 0.6504 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007501, allocations: 0 / 0.6504 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.007507, allocations: 0 / 0.6504 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.00751, allocations: 11.88 kB / 0.6505 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007511, allocations: 0 / 0.6505 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.007835, allocations: 187.4 kB / 0.6506 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.007841, allocations: 0 / 0.6506 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.007855, allocations: 0 / 0.6506 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.007962, allocations: 15.92 kB / 0.6506 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.007997, allocations: 3.938 kB / 0.6506 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.008001, allocations: 0 / 0.6506 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.008054, allocations: 91.27 kB / 0.6507 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.008054, allocations: 0 / 0.6507 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002219/0.008276, allocations: 8 kB / 0.6507 GB, free: 0.7383 MB / 0.5606 GB 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 (2): * Single equations (assignments): 2 * 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 9.434e-05/0.00837, allocations: 95.28 kB / 0.6508 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000264/0.008634, allocations: 47.95 kB / 0.6509 GB, free: 0.5898 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.008635, allocations: 3.938 kB / 0.6509 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/0.008752, allocations: 27.97 kB / 0.6509 GB, free: 0.5586 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.008993, allocations: 6.656 kB / 0.6509 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.009324, allocations: 128.8 kB / 0.651 GB, free: 412 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.59e-05/0.00939, allocations: 59.34 kB / 0.6511 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.00942, allocations: 4 kB / 0.6511 GB, free: 328 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.517e-05/0.009455, allocations: 12.5 kB / 0.6511 GB, free: 312 kB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.009455, allocations: 0 / 0.6511 GB, free: 312 kB / 0.5606 GB Notification: Performance of Templates: time 0.2332/0.2426, allocations: 0.6405 MB / 0.6517 GB, free: 56.76 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.709468945860863] Failed to read output from testmodel.py, exit status != 0: 0.25029702857136726 0.259756421 0.254186403 Calling exit ...