Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_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.00508/0.00508, allocations: 102.2 kB / 15.73 MB, free: 5.516 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.001176/0.001176, allocations: 203.3 kB / 16.68 MB, free: 5.445 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.121 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.031/1.031, allocations: 143 MB / 433.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 67.89 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4024, allocations: 82.03 MB / 0.6752 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002297/0.4047, allocations: 1.436 MB / 0.6766 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002944/0.405, allocations: 105.1 kB / 0.6767 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.4051, allocations: 0 / 0.6767 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.4051, allocations: 0 / 0.6767 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.872e-05/0.4052, allocations: 13.25 kB / 0.6767 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.4054, allocations: 16.67 kB / 0.6767 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.173e-05/0.4055, allocations: 26.39 kB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.4056, allocations: 2.219 kB / 0.6767 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.425e-05/0.4056, allocations: 11.58 kB / 0.6767 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.592e-05/0.4057, allocations: 12.17 kB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.4057, allocations: 2.031 kB / 0.6767 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.4058, allocations: 12.91 kB / 0.6768 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.292e-05/0.4058, allocations: 11.97 kB / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.044e-05/0.4058, allocations: 19.09 kB / 0.6768 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001091/0.4059, allocations: 27.66 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.406, allocations: 5.062 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.406, allocations: 3.938 kB / 0.6768 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.406, allocations: 0 / 0.6768 GB, free: 15.88 MB / 0.5137 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.000443/0.4064, allocations: 348.6 kB / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.4065, allocations: 9.031 kB / 0.6772 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.4065, allocations: 32.03 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.4067, allocations: 19.69 kB / 0.6772 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.4068, allocations: 167.1 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.4068, allocations: 1.5 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.4068, allocations: 1.75 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.407, allocations: 52.48 kB / 0.6774 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.407, allocations: 5.094 kB / 0.6774 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.407, allocations: 4 kB / 0.6774 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.407, allocations: 0 / 0.6774 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.4073, allocations: 54.88 kB / 0.6775 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.4076, allocations: 255.7 kB / 0.6777 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.4078, allocations: 57.06 kB / 0.6778 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.408, allocations: 34.8 kB / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.408, allocations: 0 / 0.6778 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.408, allocations: 31.81 kB / 0.6778 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.408, allocations: 0 / 0.6778 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.000437/0.4084, allocations: 108.7 kB / 0.678 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.4085, allocations: 55.41 kB / 0.678 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.004e-05/0.4086, allocations: 113.7 kB / 0.6781 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4086, allocations: 25.7 kB / 0.6781 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.839e-05/0.4087, allocations: 85.17 kB / 0.6782 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4087, allocations: 9.219 kB / 0.6782 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.4088, allocations: 12.09 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4089, allocations: 319.8 kB / 0.6785 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.409, allocations: 28.84 kB / 0.6786 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.746e-05/0.4091, allocations: 18.33 kB / 0.6786 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.4093, allocations: 54.12 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4093, allocations: 3.938 kB / 0.6786 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002475/0.4096, allocations: 84.7 kB / 0.6787 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4096, allocations: 5.062 kB / 0.6787 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.4096, allocations: 0 / 0.6787 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.4096, allocations: 1.219 kB / 0.6787 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4097, allocations: 11.7 kB / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.4098, allocations: 3.938 kB / 0.6787 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.549e-05/0.4098, allocations: 9.016 kB / 0.6788 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4098, allocations: 5.438 kB / 0.6788 GB, free: 13.94 MB / 0.5137 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.618e-05/0.4099, allocations: 114.8 kB / 0.6789 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.41, allocations: 6.172 kB / 0.6789 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.456e-05/0.41, allocations: 3.531 kB / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.41, allocations: 1.312 kB / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.41, allocations: 0 / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.41, allocations: 3.984 kB / 0.6789 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.4102, allocations: 168.5 kB / 0.679 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4102, allocations: 0 / 0.679 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.181e-05/0.4103, allocations: 20.27 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4103, allocations: 0 / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4103, allocations: 0 / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4103, allocations: 1.281 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.4103, allocations: 3.984 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002779/0.4106, allocations: 179.5 kB / 0.6792 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.492e-05/0.4106, allocations: 78.05 kB / 0.6793 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4107, allocations: 0 / 0.6793 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.423e-05/0.4108, allocations: 8.797 kB / 0.6793 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.4108, allocations: 6.594 kB / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.4108, allocations: 0 / 0.6793 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.951e-05/0.4108, allocations: 84.12 kB / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4109, allocations: 0 / 0.6794 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002231/0.4111, allocations: 9.906 kB / 0.6794 GB, free: 13.24 MB / 0.5137 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 (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 Backend phase and start with SimCode phase: time 0.0006019/0.4117, allocations: 0.7162 MB / 0.6801 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002823/0.412, allocations: 57.41 kB / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.412, allocations: 0 / 0.6802 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4121, allocations: 23.45 kB / 0.6802 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.4124, allocations: 15.73 kB / 0.6802 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.413, allocations: 149.2 kB / 0.6804 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.4133, allocations: 0.6811 MB / 0.681 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.196e-05/0.4133, allocations: 1.125 kB / 0.681 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.477e-05/0.4134, allocations: 8.406 kB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.4134, allocations: 1.062 kB / 0.681 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.4304, allocations: 1.458 MB / 0.6824 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.824/8.254, allocations: 7.641 kB / 0.6825 GB, free: 10.82 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_PowerLinearized.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)