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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.001099/0.001099, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001712/0.001713, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9895/0.9895, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003324/0.0003324, allocations: 12.22 kB / 0.5161 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1603, allocations: 83.42 MB / 0.5975 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.4997/0.66, allocations: 195.6 MB / 0.7886 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0244/0.6845, allocations: 19.88 MB / 0.808 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.6868, allocations: 47.69 kB / 0.808 GB, free: 4.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002313/0.6891, allocations: 0.5007 MB / 0.8085 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.009201/0.6983, allocations: 2.97 MB / 0.8114 GB, free: 1.055 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.7011, allocations: 0.7762 MB / 0.8122 GB, free: 292 kB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005474/0.7066, allocations: 4.545 MB / 0.8166 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002329/0.7089, allocations: 1.163 MB / 0.8178 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.7121, allocations: 1.401 MB / 0.8191 GB, free: 9.137 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.715, allocations: 1.468 MB / 0.8206 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005374/0.7155, allocations: 72 kB / 0.8206 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003177/0.7187, allocations: 0.9197 MB / 0.8215 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.7198, allocations: 0.6466 MB / 0.8221 GB, free: 6.023 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001052/0.7209, allocations: 356.8 kB / 0.8225 GB, free: 5.668 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.7238, allocations: 2.147 MB / 0.8246 GB, free: 3.516 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7238, allocations: 3.984 kB / 0.8246 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.153e-06/0.7238, allocations: 0 / 0.8246 GB, free: 3.512 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.225e-05/0.7239, allocations: 0 / 0.8246 GB, free: 3.512 MB / 0.6387 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.003436/0.7274, allocations: 1.73 MB / 0.8263 GB, free: 1.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.7274, allocations: 8.031 kB / 0.8263 GB, free: 1.723 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000439/0.7279, allocations: 190.1 kB / 0.8265 GB, free: 1.527 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002286/0.7302, allocations: 397.6 kB / 0.8268 GB, free: 1.137 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.7325, allocations: 1.066 MB / 0.8279 GB, free: 12 kB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.7326, allocations: 94.61 kB / 0.828 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003174/0.7329, allocations: 136 kB / 0.8281 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.7358, allocations: 1.582 MB / 0.8297 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.7358, allocations: 3.984 kB / 0.8297 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.736, allocations: 56 kB / 0.8297 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.884e-05/0.736, allocations: 50.44 kB / 0.8298 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/0.7383, allocations: 1.286 MB / 0.831 GB, free: 12.73 MB / 0.6544 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.007806/0.7461, allocations: 6.496 MB / 0.8374 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.7475, allocations: 0.937 MB / 0.8383 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000625/0.7481, allocations: 479.7 kB / 0.8387 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/0.7488, allocations: 421 kB / 0.8391 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.7488, allocations: 51.22 kB / 0.8392 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.384e-06/0.7488, allocations: 0 / 0.8392 GB, free: 3.855 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005237/0.7541, allocations: 2.932 MB / 0.842 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.7541, allocations: 64.34 kB / 0.8421 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.7557, allocations: 1.189 MB / 0.8433 GB, free: 15.52 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.159e-05/0.7558, allocations: 49.7 kB / 0.8433 GB, free: 15.46 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004899/0.7563, allocations: 0.6799 MB / 0.844 GB, free: 14.78 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/0.7566, allocations: 299.7 kB / 0.8443 GB, free: 14.48 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.936e-05/0.7566, allocations: 20 kB / 0.8443 GB, free: 14.46 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.7568, allocations: 345.9 kB / 0.8446 GB, free: 14.12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005657/0.7573, allocations: 365.8 kB / 0.845 GB, free: 13.76 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/0.7581, allocations: 0.7191 MB / 0.8457 GB, free: 12.9 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.009753/0.7679, allocations: 2.371 MB / 0.848 GB, free: 10.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.907e-06/0.7679, allocations: 4 kB / 0.848 GB, free: 10.51 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002174/0.7701, allocations: 1.292 MB / 0.8492 GB, free: 9.211 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.7701, allocations: 11.98 kB / 0.8493 GB, free: 9.199 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.7702, allocations: 13.84 kB / 0.8493 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002786/0.7705, allocations: 138.4 kB / 0.8494 GB, free: 9.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007436/0.7712, allocations: 199.7 kB / 0.8496 GB, free: 8.848 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/0.7755, allocations: 4.824 MB / 0.8543 GB, free: 3.621 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.7769, allocations: 107.8 kB / 0.8544 GB, free: 3.516 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.777, allocations: 51.98 kB / 0.8545 GB, free: 3.465 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007485/0.7778, allocations: 421.4 kB / 0.8549 GB, free: 3.043 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/0.7781, allocations: 150.2 kB / 0.855 GB, free: 2.895 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/0.7801, allocations: 1.097 MB / 0.8561 GB, free: 1.781 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.7801, allocations: 8 kB / 0.8561 GB, free: 1.773 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.7801, allocations: 0 / 0.8561 GB, free: 1.773 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/0.7816, allocations: 1.051 MB / 0.8571 GB, free: 0.668 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3311/1.113, allocations: 3.113 MB / 0.8601 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.365e-06/1.113, allocations: 9.484 kB / 0.8602 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/1.113, allocations: 156.3 kB / 0.8603 GB, free: 207.2 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002079/1.114, allocations: 131.3 kB / 0.8604 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/1.114, allocations: 27.53 kB / 0.8605 GB, free: 207.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00278/1.117, allocations: 4.816 MB / 0.8652 GB, free: 203.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/1.117, allocations: 8.219 kB / 0.8652 GB, free: 203.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/1.119, allocations: 1.728 MB / 0.8669 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005196/1.119, allocations: 317.5 kB / 0.8672 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/1.119, allocations: 27.78 kB / 0.8672 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007654/1.12, allocations: 73.94 kB / 0.8673 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/1.12, allocations: 79.98 kB / 0.8673 GB, free: 202.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/1.12, allocations: 36.08 kB / 0.8674 GB, free: 202.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009848/1.121, allocations: 0.8347 MB / 0.8682 GB, free: 202.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.121, allocations: 0 / 0.8682 GB, free: 202.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00135/1.123, allocations: 409.8 kB / 0.8686 GB, free: 202.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002437/1.125, allocations: 2.42 MB / 0.8709 GB, free: 201.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001647/1.127, allocations: 1.272 MB / 0.8722 GB, free: 201.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.127, allocations: 0 / 0.8722 GB, free: 201.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007228/1.127, allocations: 0.7856 MB / 0.8729 GB, free: 200.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/1.131, allocations: 0.8622 MB / 0.8738 GB, free: 200.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/1.142, allocations: 9.123 MB / 0.8827 GB, free: 196.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/1.143, allocations: 1.352 MB / 0.884 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001524/1.145, allocations: 356 kB / 0.8844 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/1.145, allocations: 0.5548 MB / 0.8849 GB, free: 194.8 MB / 0.67 GB Notification: Performance of SimCode: time 9.52e-07/1.145, allocations: 0 / 0.8849 GB, free: 194.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07541/1.221, allocations: 42.79 MB / 0.9267 GB, free: 183.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/1.221, allocations: 251.5 kB / 0.9269 GB, free: 183.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.983, allocations: 0 / 0.9269 GB, free: 183.3 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/linux/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) Environment - environmentSimulation: