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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(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.001828/0.001828, allocations: 108 kB / 15.61 MB, free: 152 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.002416/0.002415, allocations: 194.7 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.535/1.535, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.04/1.04, allocations: 143.3 MB / 433.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001985, allocations: 67.89 kB / 0.5145 GB, free: 11.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.174, allocations: 82.04 MB / 0.5946 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.5058/0.6799, allocations: 214.8 MB / 0.8044 GB, free: 5.965 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02932/0.7093, allocations: 21.38 MB / 0.8253 GB, free: 0.5156 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.7114, allocations: 55.69 kB / 0.8253 GB, free: 472 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.7139, allocations: 0.7375 MB / 0.826 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01128/0.7252, allocations: 4.236 MB / 0.8302 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00309/0.7284, allocations: 1.069 MB / 0.8312 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005631/0.734, allocations: 3.907 MB / 0.835 GB, free: 6.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/0.7368, allocations: 1.561 MB / 0.8366 GB, free: 4.898 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003474/0.7403, allocations: 1.615 MB / 0.8381 GB, free: 3.277 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.7438, allocations: 1.555 MB / 0.8397 GB, free: 1.727 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005432/0.7443, allocations: 164 kB / 0.8398 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004263/0.7486, allocations: 1.824 MB / 0.8416 GB, free: 15.74 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.7497, allocations: 0.7404 MB / 0.8423 GB, free: 15 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002055/0.7517, allocations: 0.9527 MB / 0.8432 GB, free: 14.04 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005666/0.7574, allocations: 2.999 MB / 0.8462 GB, free: 11.03 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 1.06e-05/0.7575, allocations: 0 / 0.8462 GB, free: 11.03 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.695e-06/0.7575, allocations: 0 / 0.8462 GB, free: 11.03 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001723/0.7577, allocations: 0 / 0.8462 GB, free: 11.03 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.006025/0.7637, allocations: 2.057 MB / 0.8482 GB, free: 8.922 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.7638, allocations: 12.03 kB / 0.8482 GB, free: 8.91 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004827/0.7643, allocations: 190.1 kB / 0.8484 GB, free: 8.715 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002699/0.767, allocations: 405.5 kB / 0.8488 GB, free: 8.316 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.7694, allocations: 1.093 MB / 0.8498 GB, free: 7.164 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/0.7695, allocations: 98.56 kB / 0.8499 GB, free: 7.066 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.7699, allocations: 135.9 kB / 0.8501 GB, free: 6.934 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.7731, allocations: 1.594 MB / 0.8516 GB, free: 5.266 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.7731, allocations: 0 / 0.8516 GB, free: 5.266 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.7733, allocations: 55.98 kB / 0.8517 GB, free: 5.211 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/0.7733, allocations: 54.44 kB / 0.8517 GB, free: 5.156 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.7759, allocations: 1.298 MB / 0.853 GB, free: 3.852 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.278/1.054, allocations: 6.525 MB / 0.8594 GB, free: 211.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.055, allocations: 0.9404 MB / 0.8603 GB, free: 211.1 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/1.056, allocations: 483.8 kB / 0.8607 GB, free: 211.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006763/1.057, allocations: 412.3 kB / 0.8611 GB, free: 210.7 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/1.057, allocations: 44.5 kB / 0.8612 GB, free: 210.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.697e-06/1.057, allocations: 0 / 0.8612 GB, free: 210.7 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005209/1.062, allocations: 2.947 MB / 0.8641 GB, free: 209.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/1.062, allocations: 68.28 kB / 0.8641 GB, free: 209.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/1.063, allocations: 1.197 MB / 0.8653 GB, free: 209.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/1.064, allocations: 43.64 kB / 0.8653 GB, free: 209.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/1.064, allocations: 0.6759 MB / 0.866 GB, free: 208.8 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/1.064, allocations: 302 kB / 0.8663 GB, free: 208.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00027/1.064, allocations: 195.9 kB / 0.8665 GB, free: 208.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.724e-05/1.065, allocations: 342.7 kB / 0.8668 GB, free: 208.1 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005133/1.065, allocations: 372.9 kB / 0.8671 GB, free: 208 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/1.066, allocations: 0.7258 MB / 0.8679 GB, free: 207.5 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.01129/1.077, allocations: 2.927 MB / 0.8707 GB, free: 206.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/1.077, allocations: 2.719 kB / 0.8707 GB, free: 206.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002168/1.079, allocations: 1.301 MB / 0.872 GB, free: 206.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.079, allocations: 12.34 kB / 0.872 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/1.079, allocations: 8.438 kB / 0.872 GB, free: 206.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002707/1.08, allocations: 131.5 kB / 0.8721 GB, free: 206 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007463/1.08, allocations: 209.3 kB / 0.8723 GB, free: 206 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/1.084, allocations: 5.371 MB / 0.8776 GB, free: 201.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/1.086, allocations: 47.91 kB / 0.8776 GB, free: 201.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/1.086, allocations: 49.25 kB / 0.8777 GB, free: 201.1 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.0008101/1.087, allocations: 438.2 kB / 0.8781 GB, free: 200.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003555/1.087, allocations: 139.9 kB / 0.8782 GB, free: 200.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/1.089, allocations: 1.092 MB / 0.8793 GB, free: 200.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/1.089, allocations: 6.031 kB / 0.8793 GB, free: 200.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/1.089, allocations: 6.062 kB / 0.8793 GB, free: 200.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/1.09, allocations: 1.05 MB / 0.8803 GB, free: 199.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/1.095, allocations: 3.087 MB / 0.8833 GB, free: 198.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-05/1.095, allocations: 8.484 kB / 0.8833 GB, free: 198.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/1.096, allocations: 159.8 kB / 0.8835 GB, free: 198.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002456/1.096, allocations: 135.2 kB / 0.8836 GB, free: 198.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.171e-05/1.096, allocations: 24.78 kB / 0.8836 GB, free: 198.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/1.1, allocations: 5.364 MB / 0.8889 GB, free: 193.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/1.1, allocations: 11.53 kB / 0.8889 GB, free: 193.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/1.102, allocations: 1.744 MB / 0.8906 GB, free: 192.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/1.103, allocations: 315.5 kB / 0.8909 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003728/1.103, allocations: 20.53 kB / 0.8909 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009542/1.104, allocations: 28.97 kB / 0.891 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.104, allocations: 84.03 kB / 0.891 GB, free: 192.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.075e-05/1.104, allocations: 32.31 kB / 0.8911 GB, free: 192 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001283/1.106, allocations: 0.8438 MB / 0.8919 GB, free: 191.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/1.106, allocations: 0 / 0.8919 GB, free: 191.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001959/1.108, allocations: 410.4 kB / 0.8923 GB, free: 191.7 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.003499/1.111, allocations: 2.427 MB / 0.8946 GB, free: 190.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002612/1.114, allocations: 1.449 MB / 0.8961 GB, free: 189.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/1.114, allocations: 5.031 kB / 0.8961 GB, free: 189.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/1.115, allocations: 0.7902 MB / 0.8968 GB, free: 189.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/1.119, allocations: 0.9063 MB / 0.8977 GB, free: 188.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01972/1.139, allocations: 12.17 MB / 0.9096 GB, free: 181.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/1.141, allocations: 1.36 MB / 0.9109 GB, free: 181.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002111/1.143, allocations: 350.9 kB / 0.9113 GB, free: 181 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008965/1.144, allocations: 0.5515 MB / 0.9118 GB, free: 180.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.432e-06/1.144, allocations: 0 / 0.9118 GB, free: 180.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.247, allocations: 43.34 MB / 0.9541 GB, free: 157.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.69, allocations: 4 kB / 0.9541 GB, free: 157.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_PPM.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)