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.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 111 kB / 16.42 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 185.4 kB / 17.35 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 298.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8775/0.8775, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 99.84 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3424, allocations: 86.98 MB / 0.7671 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002312/0.3447, allocations: 1.434 MB / 0.7685 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.000226/0.3449, allocations: 96.58 kB / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.986e-05/0.345, allocations: 0 / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.662e-05/0.345, allocations: 0 / 0.7686 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.3451, allocations: 3.938 kB / 0.7686 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.3452, allocations: 15.92 kB / 0.7686 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.461e-05/0.3453, allocations: 27.92 kB / 0.7686 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.051e-05/0.3454, allocations: 8 kB / 0.7686 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.712e-05/0.3454, allocations: 15.92 kB / 0.7686 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.362e-05/0.3455, allocations: 11.94 kB / 0.7686 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.3455, allocations: 3.984 kB / 0.7686 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 4.96e-05/0.3456, allocations: 11.98 kB / 0.7687 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.3456, allocations: 7.984 kB / 0.7687 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.237e-05/0.3456, allocations: 15.94 kB / 0.7687 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.837e-05/0.3457, allocations: 27.91 kB / 0.7687 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3457, allocations: 0 / 0.7687 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.386e-06/0.3457, allocations: 3.984 kB / 0.7687 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.3457, allocations: 8 kB / 0.7687 GB, free: 2.066 MB / 0.5294 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.0003889/0.3461, allocations: 339.1 kB / 0.769 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3462, allocations: 11.97 kB / 0.769 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.3463, allocations: 12.92 kB / 0.7691 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3464, allocations: 168.3 kB / 0.7692 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3464, allocations: 384 / 0.7692 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.3465, allocations: 384 / 0.7692 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000173/0.3466, allocations: 62.22 kB / 0.7693 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.3466, allocations: 4.188 kB / 0.7693 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3467, allocations: 7.875 kB / 0.7693 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3467, allocations: 0 / 0.7693 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.3469, allocations: 51.89 kB / 0.7693 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.3472, allocations: 267.5 kB / 0.7696 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.3474, allocations: 58.48 kB / 0.7697 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3475, allocations: 28.89 kB / 0.7697 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.3475, allocations: 0 / 0.7697 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.3475, allocations: 38.5 kB / 0.7697 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3475, allocations: 4 kB / 0.7697 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003871/0.3479, allocations: 97.62 kB / 0.7698 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.348, allocations: 51.41 kB / 0.7699 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.375e-05/0.348, allocations: 105.8 kB / 0.77 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.3481, allocations: 25.7 kB / 0.77 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.221e-05/0.3481, allocations: 92.27 kB / 0.7701 GB, free: 484 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.3481, allocations: 3.906 kB / 0.7701 GB, free: 480 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.992e-05/0.3482, allocations: 13.72 kB / 0.7701 GB, free: 460 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.3483, allocations: 318.8 kB / 0.7704 GB, free: 132 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.3484, allocations: 15.98 kB / 0.7704 GB, free: 116 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/0.3485, allocations: 23.97 kB / 0.7704 GB, free: 92 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.3487, allocations: 60.81 kB / 0.7705 GB, free: 28 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3487, allocations: 0 / 0.7705 GB, free: 28 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000243/0.3489, allocations: 89.66 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.3489, allocations: 4 kB / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.3489, allocations: 0 / 0.7706 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.349, allocations: 4.031 kB / 0.7706 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3491, allocations: 11.98 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3491, allocations: 0 / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.913e-05/0.3491, allocations: 4 kB / 0.7706 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3492, allocations: 7.984 kB / 0.7706 GB, free: 15.9 MB / 0.545 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 6.54e-05/0.3492, allocations: 113.8 kB / 0.7707 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.3493, allocations: 3.938 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.3493, allocations: 7.531 kB / 0.7707 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.3493, allocations: 4 kB / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3493, allocations: 0 / 0.7707 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.3493, allocations: 81.05 kB / 0.7708 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.3493, allocations: 0 / 0.7708 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.537e-05/0.3494, allocations: 11.98 kB / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.3495, allocations: 3.984 kB / 0.7708 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002973/0.3498, allocations: 168.8 kB / 0.771 GB, free: 15.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002837/0.3501, allocations: 254.7 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001029/0.3502, allocations: 27.92 kB / 0.7713 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.3502, allocations: 95.58 kB / 0.7713 GB, free: 15.09 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.3502, allocations: 3.938 kB / 0.7714 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004004/0.3506, allocations: 102.4 kB / 0.7715 GB, free: 14.98 MB / 0.545 GB Notification: Performance of SimCode: time 0.000372/0.351, allocations: 0.5571 MB / 0.772 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Templates: time 0.002791/0.3538, allocations: 0.981 MB / 0.773 GB, free: 13.4 MB / 0.545 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)