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: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005613/0.005613, allocations: 101 kB / 15.73 MB, free: 6.059 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.001478/0.001478, allocations: 191.8 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 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.002505/0.002505, allocations: 302.9 kB / 290.8 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.9917/0.9917, allocations: 169.2 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 95.84 kB / 0.681 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4673, allocations: 86.98 MB / 0.766 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001862/0.4692, allocations: 0.586 MB / 0.7665 GB, free: 3.227 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003548/0.4695, allocations: 99.7 kB / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.165e-05/0.4696, allocations: 0 / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.4696, allocations: 0 / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.05e-05/0.4697, allocations: 0 / 0.7666 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002582/0.4699, allocations: 19.92 kB / 0.7666 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.81e-05/0.47, allocations: 4 kB / 0.7666 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.4701, allocations: 0 / 0.7666 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.724e-05/0.4701, allocations: 15.94 kB / 0.7667 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.4702, allocations: 7.969 kB / 0.7667 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.4702, allocations: 3.938 kB / 0.7667 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 7.248e-05/0.4703, allocations: 15.98 kB / 0.7667 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.4703, allocations: 0 / 0.7667 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.535e-05/0.4703, allocations: 0 / 0.7667 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.4704, allocations: 23.72 kB / 0.7667 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.4704, allocations: 0 / 0.7667 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4704, allocations: 0 / 0.7667 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.4705, allocations: 0 / 0.7667 GB, free: 3.043 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.0004369/0.4709, allocations: 319.6 kB / 0.767 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.4709, allocations: 8.031 kB / 0.767 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.792e-05/0.471, allocations: 30.75 kB / 0.767 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.4711, allocations: 8.922 kB / 0.7671 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4713, allocations: 171.8 kB / 0.7672 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.4713, allocations: 4.375 kB / 0.7672 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.4713, allocations: 384 / 0.7672 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.4715, allocations: 34.25 kB / 0.7673 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.4715, allocations: 7.938 kB / 0.7673 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.4715, allocations: 0 / 0.7673 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4715, allocations: 4 kB / 0.7673 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.475e-05/0.4716, allocations: 15.97 kB / 0.7673 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001779/0.4718, allocations: 153.7 kB / 0.7674 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.472, allocations: 46.53 kB / 0.7675 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/0.472, allocations: 16.92 kB / 0.7675 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.4721, allocations: 3.984 kB / 0.7675 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001333/0.4722, allocations: 30.56 kB / 0.7675 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4722, allocations: 0 / 0.7675 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0002291/0.4724, allocations: 61.56 kB / 0.7676 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4725, allocations: 51.41 kB / 0.7676 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.573e-05/0.4725, allocations: 97.8 kB / 0.7677 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.4726, allocations: 29.7 kB / 0.7678 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.4726, allocations: 80.14 kB / 0.7678 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.4726, allocations: 11.94 kB / 0.7678 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.4727, allocations: 17.66 kB / 0.7679 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4728, allocations: 310.8 kB / 0.7682 GB, free: 1.336 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.261e-05/0.4729, allocations: 11.98 kB / 0.7682 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.016e-05/0.4729, allocations: 4 kB / 0.7682 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.091e-05/0.473, allocations: 24.84 kB / 0.7682 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.473, allocations: 0 / 0.7682 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001121/0.4731, allocations: 46.02 kB / 0.7682 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4732, allocations: 8 kB / 0.7682 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.4732, allocations: 3.938 kB / 0.7682 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4732, allocations: 3.938 kB / 0.7683 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.4736, allocations: 51.86 kB / 0.7683 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.4752, allocations: 1.4 MB / 0.7697 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.4752, allocations: 0 / 0.7697 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.4752, allocations: 4.094 kB / 0.7697 GB, free: 15.64 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 9.578e-05/0.4753, allocations: 128.2 kB / 0.7698 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.654e-06/0.4753, allocations: 0 / 0.7698 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.573e-05/0.4753, allocations: 3.5 kB / 0.7698 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.4754, allocations: 0 / 0.7698 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.4754, allocations: 0 / 0.7698 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.4754, allocations: 0 / 0.7698 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.4755, allocations: 161.6 kB / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4755, allocations: 0 / 0.77 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003451/0.4759, allocations: 51.92 kB / 0.77 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4759, allocations: 0 / 0.77 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.4759, allocations: 0 / 0.77 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.4772, allocations: 1.408 MB / 0.7714 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4772, allocations: 0 / 0.7714 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.4774, allocations: 77.11 kB / 0.7715 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.4774, allocations: 81.14 kB / 0.7715 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.4774, allocations: 7.922 kB / 0.7715 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/0.4775, allocations: 4.062 kB / 0.7715 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.383e-05/0.4775, allocations: 4 kB / 0.7715 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.4775, allocations: 0 / 0.7715 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.602e-05/0.4775, allocations: 75.28 kB / 0.7716 GB, free: 13.41 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.074e-06/0.4776, allocations: 0 / 0.7716 GB, free: 13.41 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001984/0.4778, allocations: 7.938 kB / 0.7716 GB, free: 13.4 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 0.0005345/0.4783, allocations: 0.6179 MB / 0.7722 GB, free: 12.75 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.4788, allocations: 59.91 kB / 0.7723 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4788, allocations: 4 kB / 0.7723 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.479, allocations: 39.89 kB / 0.7723 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001352/0.4792, allocations: 4 kB / 0.7723 GB, free: 12.65 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004827/0.4797, allocations: 122.7 kB / 0.7724 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.48, allocations: 0.669 MB / 0.7731 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.48, allocations: 11.98 kB / 0.7731 GB, free: 11.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.4801, allocations: 11.38 kB / 0.7731 GB, free: 11.77 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.4801, allocations: 0 / 0.7731 GB, free: 11.77 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02417/0.5043, allocations: 1.314 MB / 0.7744 GB, free: 10.65 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.6, allocations: 0.625 kB / 0.7744 GB, free: 10.65 MB / 0.545 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_PowerLinearized.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)