Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime",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.004748/0.004748, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001161/0.001161, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.073/1.073, allocations: 143 MB / 433.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.89 kB / 0.595 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4467, allocations: 82.03 MB / 0.6751 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime): time 0.001474/0.4482, allocations: 0.5826 MB / 0.6757 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 3.556e-05/0.4483, allocations: 3.938 kB / 0.6757 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.968e-05/0.4483, allocations: 1.312 kB / 0.6757 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.628e-05/0.4484, allocations: 0 / 0.6757 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.129e-06/0.4484, allocations: 0 / 0.6757 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.155e-05/0.4484, allocations: 0 / 0.6757 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.223e-05/0.4484, allocations: 5.25 kB / 0.6757 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.766e-05/0.4485, allocations: 5.453 kB / 0.6757 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.395e-05/0.4485, allocations: 3.984 kB / 0.6757 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.56e-05/0.4485, allocations: 1.25 kB / 0.6757 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.4486, allocations: 4 kB / 0.6757 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.4486, allocations: 3.938 kB / 0.6757 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.104e-05/0.4486, allocations: 1.219 kB / 0.6757 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.797e-05/0.4486, allocations: 3.938 kB / 0.6757 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.126e-05/0.4487, allocations: 1.188 kB / 0.6757 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4487, allocations: 0 / 0.6757 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4487, allocations: 0 / 0.6757 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.4487, allocations: 0 / 0.6757 GB, free: 0.8203 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001921/0.4489, allocations: 315.4 kB / 0.676 GB, free: 476 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4489, allocations: 8.688 kB / 0.676 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.948e-05/0.4489, allocations: 36.12 kB / 0.6761 GB, free: 432 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.771e-05/0.449, allocations: 4.938 kB / 0.6761 GB, free: 428 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.483e-05/0.449, allocations: 160.4 kB / 0.6762 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.449, allocations: 1.938 kB / 0.6762 GB, free: 228 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.335e-06/0.449, allocations: 4.312 kB / 0.6762 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.893e-05/0.4491, allocations: 27.73 kB / 0.6763 GB, free: 192 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4491, allocations: 3.938 kB / 0.6763 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.4491, allocations: 1.5 kB / 0.6763 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.4491, allocations: 0 / 0.6763 GB, free: 188 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.4492, allocations: 5.281 kB / 0.6763 GB, free: 184 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.715e-05/0.4493, allocations: 150.7 kB / 0.6764 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.4493, allocations: 15.7 kB / 0.6764 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.244e-05/0.4493, allocations: 12.14 kB / 0.6764 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.4494, allocations: 0 / 0.6764 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.4494, allocations: 31.69 kB / 0.6765 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.4494, allocations: 4 kB / 0.6765 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001092/0.4495, allocations: 38.8 kB / 0.6765 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.4495, allocations: 51.41 kB / 0.6766 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.106e-05/0.4496, allocations: 93.84 kB / 0.6767 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.4496, allocations: 27.02 kB / 0.6767 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.4496, allocations: 80.14 kB / 0.6768 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.4497, allocations: 5.078 kB / 0.6768 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.4497, allocations: 10.88 kB / 0.6768 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4498, allocations: 320.2 kB / 0.6771 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-06/0.4498, allocations: 3.938 kB / 0.6771 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.038e-06/0.4498, allocations: 1.281 kB / 0.6771 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.443e-05/0.4499, allocations: 12.17 kB / 0.6771 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4499, allocations: 0 / 0.6771 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.768e-05/0.4499, allocations: 31.45 kB / 0.6771 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.4499, allocations: 9.328 kB / 0.6771 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4499, allocations: 3.938 kB / 0.6771 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.45, allocations: 4.094 kB / 0.6771 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.45, allocations: 1.469 kB / 0.6771 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.45, allocations: 5.5 kB / 0.6772 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.468e-06/0.45, allocations: 1.266 kB / 0.6772 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.4501, allocations: 0 / 0.6772 GB, free: 15.19 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 (1): * Single equations (assignments): 1 * 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 5.54e-05/0.4501, allocations: 110.9 kB / 0.6773 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.4501, allocations: 5.234 kB / 0.6773 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.268e-05/0.4502, allocations: 11.06 kB / 0.6773 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4502, allocations: 0 / 0.6773 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4502, allocations: 5.281 kB / 0.6773 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.4502, allocations: 0 / 0.6773 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.647e-05/0.4503, allocations: 146.9 kB / 0.6774 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.4503, allocations: 0 / 0.6774 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.028e-05/0.4503, allocations: 1.375 kB / 0.6774 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.4503, allocations: 1.031 kB / 0.6774 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.4503, allocations: 3.938 kB / 0.6774 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4503, allocations: 1.375 kB / 0.6774 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4503, allocations: 0 / 0.6774 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.993e-05/0.4504, allocations: 66.5 kB / 0.6775 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.4504, allocations: 78.42 kB / 0.6776 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-06/0.4504, allocations: 3.938 kB / 0.6776 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-06/0.4504, allocations: 1.25 kB / 0.6776 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.332e-05/0.4505, allocations: 3.938 kB / 0.6776 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.4505, allocations: 0.9062 kB / 0.6776 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.387e-05/0.4505, allocations: 75.28 kB / 0.6776 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4505, allocations: 0 / 0.6776 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001748/0.4507, allocations: 1.219 kB / 0.6776 GB, free: 14.61 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 (1): * Single equations (assignments): 1 * 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.0003141/0.451, allocations: 0.5928 MB / 0.6782 GB, free: 14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.943e-05/0.4511, allocations: 11.56 kB / 0.6782 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4511, allocations: 0 / 0.6782 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-06/0.4511, allocations: 10.34 kB / 0.6782 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.4512, allocations: 6.938 kB / 0.6783 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002553/0.4515, allocations: 101.5 kB / 0.6784 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.4517, allocations: 0.6699 MB / 0.679 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.818e-06/0.4517, allocations: 0 / 0.679 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.4518, allocations: 8.594 kB / 0.679 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of SimCode: time 2.7e-07/0.4518, allocations: 0 / 0.679 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01592/0.4677, allocations: 0.8993 MB / 0.6799 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.815/8.283, allocations: 2.625 kB / 0.6799 GB, free: 12.6 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Time_Examples_ModelTime.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1)