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.001212/0.001212, allocations: 115.7 kB / 16.42 MB, free: 6.473 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.001221/0.001221, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.251/1.251, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002091/0.002091, allocations: 286.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9064/0.9064, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 95.86 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3728, allocations: 86.98 MB / 0.7671 GB, free: 3.965 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002263/0.3751, allocations: 1.43 MB / 0.7685 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002291/0.3753, allocations: 92.58 kB / 0.7686 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.3754, allocations: 0 / 0.7686 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.238e-05/0.3754, allocations: 3.938 kB / 0.7686 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.692e-05/0.3754, allocations: 0 / 0.7686 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3756, allocations: 19.92 kB / 0.7686 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.3757, allocations: 31.86 kB / 0.7686 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.801e-05/0.3758, allocations: 4 kB / 0.7686 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.515e-05/0.3758, allocations: 11.98 kB / 0.7686 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.299e-05/0.3758, allocations: 11.88 kB / 0.7686 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3759, allocations: 7.984 kB / 0.7686 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.027e-05/0.3759, allocations: 15.98 kB / 0.7687 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.302e-05/0.3759, allocations: 3.984 kB / 0.7687 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.376, allocations: 15.94 kB / 0.7687 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.672e-05/0.3761, allocations: 27.91 kB / 0.7687 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3761, allocations: 4 kB / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3761, allocations: 0 / 0.7687 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.3761, allocations: 0 / 0.7687 GB, free: 2.273 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.0003743/0.3765, allocations: 347.1 kB / 0.769 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.3765, allocations: 8.031 kB / 0.769 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.3766, allocations: 12.92 kB / 0.7691 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.986e-05/0.3768, allocations: 172.2 kB / 0.7692 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.3768, allocations: 384 / 0.7692 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.3768, allocations: 8.375 kB / 0.7692 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.377, allocations: 66.14 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.377, allocations: 4.188 kB / 0.7693 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.377, allocations: 3.938 kB / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.377, allocations: 0 / 0.7693 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001956/0.3772, allocations: 47.95 kB / 0.7693 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003144/0.3775, allocations: 267.5 kB / 0.7696 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.3777, allocations: 54.48 kB / 0.7697 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3778, allocations: 28.89 kB / 0.7697 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.3778, allocations: 3.938 kB / 0.7697 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.3779, allocations: 38.56 kB / 0.7697 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3779, allocations: 0 / 0.7697 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003833/0.3783, allocations: 97.62 kB / 0.7698 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.3783, allocations: 51.41 kB / 0.7699 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/0.3784, allocations: 110 kB / 0.77 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.3784, allocations: 29.7 kB / 0.77 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.329e-05/0.3784, allocations: 84.14 kB / 0.7701 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.3784, allocations: 3.906 kB / 0.7701 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.3785, allocations: 13.72 kB / 0.7701 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.267e-05/0.3786, allocations: 318.8 kB / 0.7704 GB, free: 336 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.3787, allocations: 19.98 kB / 0.7704 GB, free: 316 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.384e-05/0.3788, allocations: 31.91 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001795/0.379, allocations: 52.81 kB / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.379, allocations: 0 / 0.7705 GB, free: 228 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002225/0.3792, allocations: 81.59 kB / 0.7706 GB, free: 140 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3792, allocations: 11.98 kB / 0.7706 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.3792, allocations: 0 / 0.7706 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.3792, allocations: 0 / 0.7706 GB, free: 128 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.409e-05/0.3793, allocations: 15.92 kB / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.3794, allocations: 0 / 0.7706 GB, free: 112 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.506e-05/0.3794, allocations: 8 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.3794, allocations: 0 / 0.7706 GB, free: 104 kB / 0.5294 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 7.087e-05/0.3795, allocations: 120.2 kB / 0.7707 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.3795, allocations: 7.938 kB / 0.7707 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.163e-05/0.3796, allocations: 11.47 kB / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.3796, allocations: 0 / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3796, allocations: 0 / 0.7707 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.3796, allocations: 81.11 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.3796, allocations: 0 / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.298e-05/0.3797, allocations: 7.984 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.3798, allocations: 4 kB / 0.7708 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002892/0.3801, allocations: 168.8 kB / 0.771 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002791/0.3804, allocations: 254.6 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001101/0.3805, allocations: 28.05 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.489e-05/0.3805, allocations: 91.52 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of Backend: time 2.2e-07/0.3805, allocations: 0 / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003992/0.3809, allocations: 106.3 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of SimCode: time 0.0003604/0.3813, allocations: 0.561 MB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of Templates: time 0.002735/0.384, allocations: 0.9724 MB / 0.7729 GB, free: 13.61 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)