Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.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.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001208/0.001208, allocations: 183 kB / 17.34 MB, free: 5.734 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 282.1 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9111/0.9111, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001985, allocations: 91.86 kB / 0.6822 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4351/0.4371, allocations: 86.97 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001502/0.4386, allocations: 0.5824 MB / 0.7677 GB, free: 3.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002656/0.4389, allocations: 95.72 kB / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.4389, allocations: 0 / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.4389, allocations: 0 / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.473e-05/0.439, allocations: 0 / 0.7677 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.4392, allocations: 31.91 kB / 0.7678 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.683e-05/0.4392, allocations: 7.938 kB / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.4393, allocations: 0 / 0.7678 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.4393, allocations: 7.938 kB / 0.7678 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.4394, allocations: 3.984 kB / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.4394, allocations: 0 / 0.7678 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.41e-05/0.4394, allocations: 15.98 kB / 0.7678 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-06/0.4394, allocations: 0 / 0.7678 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.4395, allocations: 0 / 0.7678 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 7.643e-05/0.4395, allocations: 23.91 kB / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.4396, allocations: 0 / 0.7678 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4396, allocations: 4 kB / 0.7678 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.4396, allocations: 0 / 0.7678 GB, free: 3.141 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.0003238/0.4399, allocations: 323.6 kB / 0.7681 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.4399, allocations: 8.031 kB / 0.7682 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.4401, allocations: 8.922 kB / 0.7682 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.4402, allocations: 168 kB / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4402, allocations: 384 / 0.7683 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.4402, allocations: 4.375 kB / 0.7683 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.4403, allocations: 42.25 kB / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.4403, allocations: 192 / 0.7684 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.4404, allocations: 3.938 kB / 0.7684 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.4404, allocations: 0 / 0.7684 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.4404, allocations: 15.97 kB / 0.7684 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.4406, allocations: 149.7 kB / 0.7685 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.4407, allocations: 54.58 kB / 0.7686 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.4408, allocations: 12.86 kB / 0.7686 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.4408, allocations: 0 / 0.7686 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.4408, allocations: 30.56 kB / 0.7686 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.4408, allocations: 0 / 0.7686 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0001927/0.441, allocations: 57.61 kB / 0.7687 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.4411, allocations: 59.34 kB / 0.7687 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.208e-05/0.4411, allocations: 93.86 kB / 0.7688 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.4411, allocations: 25.7 kB / 0.7688 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.218e-05/0.4412, allocations: 80.14 kB / 0.7689 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.185e-05/0.4412, allocations: 15.8 kB / 0.7689 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.793e-05/0.4412, allocations: 13.72 kB / 0.769 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.4414, allocations: 314.8 kB / 0.7693 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.4414, allocations: 7.984 kB / 0.7693 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.4414, allocations: 8 kB / 0.7693 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.4415, allocations: 24.78 kB / 0.7693 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4415, allocations: 0 / 0.7693 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.72e-05/0.4416, allocations: 49.62 kB / 0.7693 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.4416, allocations: 4 kB / 0.7693 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.4417, allocations: 4 kB / 0.7693 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4417, allocations: 7.875 kB / 0.7694 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.442, allocations: 47.92 kB / 0.7694 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.4432, allocations: 1.397 MB / 0.7708 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.4433, allocations: 12.16 kB / 0.7708 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.4433, allocations: 0 / 0.7708 GB, free: 15.77 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.4434, allocations: 120.1 kB / 0.7709 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.827e-06/0.4434, allocations: 4 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.4434, allocations: 3.5 kB / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-06/0.4434, allocations: 0 / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.4434, allocations: 336 / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.4434, allocations: 0 / 0.7709 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.319e-05/0.4435, allocations: 157.6 kB / 0.771 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4435, allocations: 4 kB / 0.7711 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.4439, allocations: 47.92 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.4439, allocations: 3.984 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.4439, allocations: 0 / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.445, allocations: 1.408 MB / 0.7725 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.445, allocations: 0 / 0.7725 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.4451, allocations: 69.16 kB / 0.7725 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.4452, allocations: 89.19 kB / 0.7726 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-06/0.4452, allocations: 3.938 kB / 0.7726 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.589e-05/0.4452, allocations: 4 kB / 0.7726 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.623e-05/0.4452, allocations: 0 / 0.7726 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.4452, allocations: 4 kB / 0.7726 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.4453, allocations: 75.28 kB / 0.7727 GB, free: 13.55 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4453, allocations: 3.938 kB / 0.7727 GB, free: 13.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001862/0.4455, allocations: 8 kB / 0.7727 GB, free: 13.54 MB / 0.545 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.995e-05/0.4456, allocations: 104.9 kB / 0.7728 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004366/0.446, allocations: 59.92 kB / 0.7729 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.446, allocations: 0 / 0.7729 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.4464, allocations: 59.86 kB / 0.7729 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001188/0.4465, allocations: 0 / 0.7729 GB, free: 13.31 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.4468, allocations: 123.6 kB / 0.7731 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002228/0.447, allocations: 0.6805 MB / 0.7737 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.447, allocations: 15.38 kB / 0.7737 GB, free: 12.44 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.447, allocations: 0 / 0.7737 GB, free: 12.44 MB / 0.545 GB Notification: Performance of Templates: time 0.001907/0.449, allocations: 0.602 MB / 0.7743 GB, free: 11.84 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)