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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.277/1.277, allocations: 141.8 MB / 149.3 MB, free: 9.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 184.8 kB / 182.2 MB, free: 9.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.5 MB / 436.4 MB, free: 13.36 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008661/0.0008662, allocations: 89.78 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001767/0.001767, allocations: 274.6 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.394e-05/1.395e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3766, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1328/0.5095, allocations: 107.9 MB / 0.8627 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002319/0.5098, allocations: 71.84 kB / 0.8628 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002088/0.5119, allocations: 0.7862 MB / 0.8636 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5119, allocations: 0 / 0.8636 GB, free: 3.133 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.512, allocations: 0 / 0.8636 GB, free: 3.133 MB / 0.5261 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.0003351/0.5123, allocations: 334.5 kB / 0.8639 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.5123, allocations: 8.031 kB / 0.8639 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.5125, allocations: 15.98 kB / 0.8639 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.5126, allocations: 171 kB / 0.8641 GB, free: 2.531 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.5126, allocations: 7.953 kB / 0.8641 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.5127, allocations: 0 / 0.8641 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.211e-05/0.5127, allocations: 12 kB / 0.8641 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.914e-05/0.5128, allocations: 49.62 kB / 0.8641 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.5128, allocations: 0 / 0.8641 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5129, allocations: 0 / 0.8641 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.5129, allocations: 0 / 0.8641 GB, free: 2.457 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.5133, allocations: 257.4 kB / 0.8644 GB, free: 2.168 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.5133, allocations: 38.61 kB / 0.8644 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.88e-05/0.5134, allocations: 12.92 kB / 0.8644 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.5134, allocations: 0 / 0.8644 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.5134, allocations: 30.56 kB / 0.8645 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.5134, allocations: 0 / 0.8645 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.5136, allocations: 45.64 kB / 0.8645 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.5136, allocations: 51.41 kB / 0.8645 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.185e-05/0.5137, allocations: 105 kB / 0.8646 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.5137, allocations: 25.7 kB / 0.8647 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.5137, allocations: 84.14 kB / 0.8648 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.5138, allocations: 7.844 kB / 0.8648 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-06/0.5138, allocations: 4 kB / 0.8648 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5139, allocations: 310.8 kB / 0.8651 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.069e-05/0.5139, allocations: 8 kB / 0.8651 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.5139, allocations: 8 kB / 0.8651 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.287e-05/0.514, allocations: 12.05 kB / 0.8651 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.514, allocations: 0 / 0.8651 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.192e-05/0.5141, allocations: 53.56 kB / 0.8651 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.5141, allocations: 4 kB / 0.8651 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5141, allocations: 0 / 0.8651 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5141, allocations: 4 kB / 0.8651 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.5142, allocations: 11.98 kB / 0.8652 GB, free: 1.297 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5142, allocations: 3.938 kB / 0.8652 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.211e-05/0.5143, allocations: 16.02 kB / 0.8652 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.5143, allocations: 4 kB / 0.8652 GB, free: 1.273 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.5144, allocations: 104.9 kB / 0.8653 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.572e-05/0.5144, allocations: 3.953 kB / 0.8653 GB, free: 1.16 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.5145, allocations: 15.95 kB / 0.8653 GB, free: 1.141 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5145, allocations: 3.984 kB / 0.8653 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.5145, allocations: 0 / 0.8653 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5145, allocations: 0 / 0.8653 GB, free: 1.137 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.5146, allocations: 146.4 kB / 0.8654 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.5146, allocations: 4 kB / 0.8654 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-05/0.5147, allocations: 15.98 kB / 0.8655 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.5148, allocations: 0 / 0.8655 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.5148, allocations: 3.953 kB / 0.8655 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5148, allocations: 4 kB / 0.8655 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5148, allocations: 0 / 0.8655 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.5149, allocations: 139.6 kB / 0.8656 GB, free: 0.7773 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.515, allocations: 85 kB / 0.8657 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.515, allocations: 0 / 0.8657 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.5151, allocations: 15.94 kB / 0.8657 GB, free: 0.6602 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.5151, allocations: 7.938 kB / 0.8657 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.5151, allocations: 0 / 0.8657 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.5152, allocations: 83.28 kB / 0.8658 GB, free: 0.5703 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5152, allocations: 4.031 kB / 0.8658 GB, free: 0.5664 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002264/0.5154, allocations: 4 kB / 0.8658 GB, free: 0.5625 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001029/0.5155, allocations: 95.25 kB / 0.8659 GB, free: 472 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.5157, allocations: 20 kB / 0.8659 GB, free: 452 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5157, allocations: 0 / 0.8659 GB, free: 452 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.5157, allocations: 11.98 kB / 0.8659 GB, free: 440 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.5159, allocations: 4 kB / 0.8659 GB, free: 436 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.5161, allocations: 72.06 kB / 0.866 GB, free: 340 kB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002376/0.5164, allocations: 0.6884 MB / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.5164, allocations: 0 / 0.8667 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.671e-05/0.5165, allocations: 11.44 kB / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of SimCode: time 2.7e-07/0.5165, allocations: 0 / 0.8667 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of Templates: time 0.002072/0.5185, allocations: 476 kB / 0.8671 GB, free: 15.15 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (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)