Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.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.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM",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.001112/0.001112, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.014/1.014, allocations: 143 MB / 433.4 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1599, allocations: 82.04 MB / 0.5944 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.4931/0.6531, allocations: 214.8 MB / 0.8041 GB, free: 6.285 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02461/0.6777, allocations: 21.38 MB / 0.825 GB, free: 0.8398 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001863/0.6796, allocations: 51.69 kB / 0.8251 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002311/0.682, allocations: 0.7453 MB / 0.8258 GB, free: 40 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01047/0.6925, allocations: 4.249 MB / 0.8299 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002833/0.6954, allocations: 1.056 MB / 0.831 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004681/0.7001, allocations: 3.906 MB / 0.8348 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002296/0.7024, allocations: 1.567 MB / 0.8363 GB, free: 5.215 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003129/0.7055, allocations: 1.615 MB / 0.8379 GB, free: 3.594 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003159/0.7087, allocations: 1.552 MB / 0.8394 GB, free: 2.043 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000375/0.7091, allocations: 160 kB / 0.8396 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004188/0.7133, allocations: 1.82 MB / 0.8413 GB, free: 64 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009239/0.7142, allocations: 0.7442 MB / 0.8421 GB, free: 15.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001456/0.7157, allocations: 0.9449 MB / 0.843 GB, free: 14.37 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00444/0.7201, allocations: 3.007 MB / 0.8459 GB, free: 11.35 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7202, allocations: 0 / 0.8459 GB, free: 11.35 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7202, allocations: 0 / 0.8459 GB, free: 11.35 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.967e-05/0.7202, allocations: 0 / 0.8459 GB, free: 11.35 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.003441/0.7237, allocations: 2.049 MB / 0.8479 GB, free: 9.25 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.7237, allocations: 12.03 kB / 0.8479 GB, free: 9.238 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002132/0.7239, allocations: 194.1 kB / 0.8481 GB, free: 9.039 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.7262, allocations: 405 kB / 0.8485 GB, free: 8.645 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001908/0.7281, allocations: 1.104 MB / 0.8496 GB, free: 7.48 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.111e-05/0.7282, allocations: 102.6 kB / 0.8497 GB, free: 7.379 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.7284, allocations: 131.9 kB / 0.8498 GB, free: 7.25 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002604/0.731, allocations: 1.586 MB / 0.8514 GB, free: 5.59 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.7311, allocations: 0 / 0.8514 GB, free: 5.59 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.7312, allocations: 55.98 kB / 0.8514 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.724e-05/0.7313, allocations: 50.44 kB / 0.8515 GB, free: 5.484 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.7334, allocations: 1.305 MB / 0.8527 GB, free: 4.172 MB / 0.67 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2904/1.024, allocations: 6.512 MB / 0.8591 GB, free: 211.4 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/1.025, allocations: 0.944 MB / 0.86 GB, free: 211.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/1.026, allocations: 481.6 kB / 0.8605 GB, free: 211.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006413/1.026, allocations: 416.9 kB / 0.8609 GB, free: 211 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/1.026, allocations: 44.84 kB / 0.8609 GB, free: 211 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.507e-06/1.026, allocations: 0.8438 kB / 0.8609 GB, free: 211 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.004777/1.031, allocations: 2.942 MB / 0.8638 GB, free: 210.2 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/1.031, allocations: 62.5 kB / 0.8639 GB, free: 210.2 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/1.032, allocations: 1.198 MB / 0.865 GB, free: 209.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.618e-05/1.033, allocations: 43.02 kB / 0.8651 GB, free: 209.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004188/1.033, allocations: 0.6821 MB / 0.8657 GB, free: 209.1 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/1.033, allocations: 301.6 kB / 0.866 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/1.033, allocations: 196.6 kB / 0.8662 GB, free: 208.8 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/1.034, allocations: 347.4 kB / 0.8665 GB, free: 208.5 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/1.034, allocations: 371.3 kB / 0.8669 GB, free: 208.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006923/1.035, allocations: 0.7315 MB / 0.8676 GB, free: 207.8 MB / 0.67 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01093/1.046, allocations: 2.928 MB / 0.8705 GB, free: 206.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.046, allocations: 2.5 kB / 0.8705 GB, free: 206.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001855/1.048, allocations: 1.296 MB / 0.8717 GB, free: 206.4 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.048, allocations: 9.703 kB / 0.8717 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.048, allocations: 8.562 kB / 0.8718 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002483/1.048, allocations: 135.2 kB / 0.8719 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007308/1.049, allocations: 210.4 kB / 0.8721 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/1.052, allocations: 5.374 MB / 0.8773 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.053, allocations: 49.98 kB / 0.8774 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/1.053, allocations: 42.41 kB / 0.8774 GB, free: 201.4 MB / 0.67 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006319/1.054, allocations: 441.7 kB / 0.8778 GB, free: 201.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/1.054, allocations: 140.7 kB / 0.878 GB, free: 201.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/1.055, allocations: 1.092 MB / 0.879 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/1.055, allocations: 9.734 kB / 0.8791 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.055, allocations: 3.844 kB / 0.8791 GB, free: 200.7 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/1.057, allocations: 1.057 MB / 0.8801 GB, free: 200.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004383/1.061, allocations: 3.085 MB / 0.8831 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/1.061, allocations: 5.781 kB / 0.8831 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/1.062, allocations: 155.6 kB / 0.8833 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002113/1.062, allocations: 131.4 kB / 0.8834 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.062e-05/1.062, allocations: 28.47 kB / 0.8834 GB, free: 198.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/1.065, allocations: 5.361 MB / 0.8886 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.065, allocations: 16.34 kB / 0.8887 GB, free: 193.6 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/1.067, allocations: 1.742 MB / 0.8904 GB, free: 192.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000481/1.067, allocations: 316.3 kB / 0.8907 GB, free: 192.5 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/1.068, allocations: 26.2 kB / 0.8907 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007597/1.068, allocations: 28.28 kB / 0.8907 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.068, allocations: 78.53 kB / 0.8908 GB, free: 192.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/1.069, allocations: 32.84 kB / 0.8908 GB, free: 192.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009827/1.069, allocations: 0.8444 MB / 0.8916 GB, free: 192.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/1.069, allocations: 2.406 kB / 0.8916 GB, free: 192.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001459/1.071, allocations: 409.7 kB / 0.892 GB, free: 192 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (75): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002713/1.074, allocations: 2.423 MB / 0.8944 GB, free: 190.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.076, allocations: 1.455 MB / 0.8958 GB, free: 189.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.076, allocations: 3.266 kB / 0.8958 GB, free: 189.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008146/1.077, allocations: 0.79 MB / 0.8966 GB, free: 189.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004199/1.081, allocations: 0.8942 MB / 0.8975 GB, free: 189.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.098, allocations: 12.16 MB / 0.9094 GB, free: 182.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001227/1.1, allocations: 1.367 MB / 0.9107 GB, free: 181.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002019/1.102, allocations: 347 kB / 0.911 GB, free: 181.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/1.103, allocations: 0.5503 MB / 0.9116 GB, free: 181 MB / 0.67 GB Notification: Performance of SimCode: time 1.954e-06/1.103, allocations: 0 / 0.9116 GB, free: 181 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1186/1.221, allocations: 43.33 MB / 0.9539 GB, free: 157.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.29, allocations: 2.188 kB / 0.9539 GB, free: 157.6 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)