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.004758/0.004758, allocations: 97.05 kB / 15.73 MB, free: 5.547 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.001255/0.001255, allocations: 191.9 kB / 16.67 MB, free: 5.48 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002551/0.002551, allocations: 293.6 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.22/1.22, allocations: 178.5 MB / 0.5074 GB, free: 12.68 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 99.84 kB / 0.6943 GB, free: 15.12 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4676/0.4702, allocations: 89.13 MB / 0.7814 GB, free: 1.109 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001511/0.4718, allocations: 0.601 MB / 0.782 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002641/0.472, allocations: 93.02 kB / 0.7821 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.023e-05/0.4721, allocations: 0 / 0.7821 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.4721, allocations: 0 / 0.7821 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.716e-05/0.4722, allocations: 1.5 kB / 0.7821 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.4724, allocations: 13.33 kB / 0.7821 GB, free: 0.582 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.037e-05/0.4724, allocations: 16.69 kB / 0.7821 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.4725, allocations: 4 kB / 0.7821 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.4725, allocations: 6.719 kB / 0.7821 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.819e-05/0.4726, allocations: 2.719 kB / 0.7821 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.4726, allocations: 0 / 0.7821 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.781e-05/0.4727, allocations: 14.98 kB / 0.7821 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.212e-05/0.4727, allocations: 1.156 kB / 0.7821 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.003e-05/0.4727, allocations: 5.109 kB / 0.7821 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 8.848e-05/0.4728, allocations: 27.39 kB / 0.7821 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4728, allocations: 0 / 0.7821 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4728, allocations: 1.125 kB / 0.7821 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.4728, allocations: 4 kB / 0.7822 GB, free: 0.5273 MB / 0.545 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.0002827/0.4731, allocations: 317.6 kB / 0.7825 GB, free: 180 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4732, allocations: 9.156 kB / 0.7825 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.269e-05/0.4732, allocations: 36 kB / 0.7825 GB, free: 136 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.4733, allocations: 8.641 kB / 0.7825 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.702e-05/0.4734, allocations: 161.6 kB / 0.7827 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.4735, allocations: 4.312 kB / 0.7827 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.147e-05/0.4735, allocations: 2.531 kB / 0.7827 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.4736, allocations: 42.81 kB / 0.7827 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.4736, allocations: 3.938 kB / 0.7827 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.4736, allocations: 1.188 kB / 0.7827 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4736, allocations: 0 / 0.7827 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.4737, allocations: 11.95 kB / 0.7827 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000163/0.4739, allocations: 156.5 kB / 0.7829 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.4741, allocations: 48.16 kB / 0.7829 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.954e-05/0.4741, allocations: 14.33 kB / 0.7829 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.4742, allocations: 0 / 0.7829 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.4742, allocations: 31.84 kB / 0.783 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4742, allocations: 0 / 0.783 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002239/0.4744, allocations: 57.64 kB / 0.783 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.4745, allocations: 55.41 kB / 0.7831 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.88e-05/0.4745, allocations: 91.14 kB / 0.7832 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.4746, allocations: 33.64 kB / 0.7832 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.4746, allocations: 80.14 kB / 0.7833 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.106e-05/0.4746, allocations: 13.17 kB / 0.7833 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.4747, allocations: 16.3 kB / 0.7833 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.4748, allocations: 316.1 kB / 0.7836 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.916e-05/0.4749, allocations: 3.781 kB / 0.7836 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.547e-05/0.4749, allocations: 11.52 kB / 0.7836 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.009e-05/0.475, allocations: 22.59 kB / 0.7836 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.475, allocations: 0 / 0.7836 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001115/0.4751, allocations: 46.2 kB / 0.7837 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.4751, allocations: 5.75 kB / 0.7837 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4751, allocations: 3.938 kB / 0.7837 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.4752, allocations: 1.375 kB / 0.7837 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003929/0.4756, allocations: 51.02 kB / 0.7837 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.477, allocations: 1.396 MB / 0.7851 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.477, allocations: 17.23 kB / 0.7851 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.477, allocations: 5.125 kB / 0.7851 GB, free: 13.32 MB / 0.5606 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.078e-05/0.4771, allocations: 118.8 kB / 0.7852 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.4772, allocations: 5.047 kB / 0.7852 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.577e-05/0.4772, allocations: 3.5 kB / 0.7852 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4772, allocations: 1.125 kB / 0.7852 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.4772, allocations: 0 / 0.7852 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.4772, allocations: 1.344 kB / 0.7852 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.4773, allocations: 159.5 kB / 0.7854 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.4773, allocations: 0.7188 kB / 0.7854 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.4777, allocations: 47.39 kB / 0.7854 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.4777, allocations: 1.156 kB / 0.7854 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.4777, allocations: 0 / 0.7854 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.479, allocations: 1.404 MB / 0.7868 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.4791, allocations: 3.984 kB / 0.7868 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001348/0.4792, allocations: 70.56 kB / 0.7869 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.4793, allocations: 82.22 kB / 0.787 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.4793, allocations: 8.453 kB / 0.787 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.92e-05/0.4793, allocations: 5.141 kB / 0.787 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.4793, allocations: 1.281 kB / 0.787 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.4793, allocations: 1.344 kB / 0.787 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.253e-05/0.4794, allocations: 79.22 kB / 0.7871 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4794, allocations: 0 / 0.7871 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001938/0.4796, allocations: 7.844 kB / 0.7871 GB, free: 11.21 MB / 0.5606 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.000477/0.4801, allocations: 0.6134 MB / 0.7877 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004736/0.4806, allocations: 64.19 kB / 0.7877 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4806, allocations: 0 / 0.7877 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002446/0.4808, allocations: 43.05 kB / 0.7878 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.481, allocations: 2.188 kB / 0.7878 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004079/0.4814, allocations: 122 kB / 0.7879 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.4817, allocations: 0.6716 MB / 0.7885 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.916e-05/0.4817, allocations: 1.344 kB / 0.7885 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.74e-05/0.4818, allocations: 13.92 kB / 0.7886 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.4818, allocations: 0 / 0.7886 GB, free: 9.695 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02387/0.5056, allocations: 1.312 MB / 0.7898 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.83, allocations: 18.08 kB / 0.7899 GB, free: 8.996 MB / 0.5606 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)