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.001173/0.001173, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001279/0.001279, allocations: 177.3 kB / 15.95 MB, free: 216 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.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9679/0.9679, allocations: 143.3 MB / 434.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003361/0.0003362, allocations: 8 kB / 0.5159 GB, free: 11.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1892, allocations: 83.41 MB / 0.5973 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.PPM): time 0.5438/0.733, allocations: 177.1 MB / 0.7703 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02708/0.7602, allocations: 18.64 MB / 0.7885 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00271/0.763, allocations: 43.69 kB / 0.7885 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003242/0.7663, allocations: 0.7505 MB / 0.7893 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.777, allocations: 2.93 MB / 0.7921 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00425/0.7812, allocations: 1.211 MB / 0.7933 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004863/0.7861, allocations: 2.267 MB / 0.7955 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.7883, allocations: 1.195 MB / 0.7967 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004559/0.7929, allocations: 1.671 MB / 0.7983 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.7955, allocations: 1.129 MB / 0.7994 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002917/0.7958, allocations: 72 kB / 0.7995 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002897/0.7987, allocations: 0.8308 MB / 0.8003 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0007286/0.7995, allocations: 0.6039 MB / 0.8009 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006978/0.8002, allocations: 360.8 kB / 0.8012 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002939/0.8031, allocations: 2.058 MB / 0.8033 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.8032, allocations: 0 / 0.8033 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of FrontEnd: time 5.119e-06/0.8032, allocations: 4 kB / 0.8033 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.947e-05/0.8032, allocations: 0 / 0.8033 GB, free: 9.117 MB / 0.6231 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.003311/0.8066, allocations: 1.699 MB / 0.8049 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.8066, allocations: 11.97 kB / 0.8049 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002942/0.8069, allocations: 194.1 kB / 0.8051 GB, free: 7.156 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002327/0.8093, allocations: 401.5 kB / 0.8055 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002625/0.8119, allocations: 1.062 MB / 0.8065 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/0.812, allocations: 106.6 kB / 0.8066 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002509/0.8123, allocations: 128 kB / 0.8068 GB, free: 5.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002989/0.8153, allocations: 1.571 MB / 0.8083 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/0.8154, allocations: 3.938 kB / 0.8083 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.8155, allocations: 52 kB / 0.8083 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.568e-05/0.8156, allocations: 50.44 kB / 0.8084 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.8177, allocations: 1.29 MB / 0.8097 GB, free: 2.363 MB / 0.6231 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.009277/0.827, allocations: 6.473 MB / 0.816 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.8284, allocations: 0.9409 MB / 0.8169 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004816/0.8289, allocations: 161.7 kB / 0.817 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.8289, allocations: 43.91 kB / 0.8171 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.837e-06/0.829, allocations: 0 / 0.8171 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.005694/0.8347, allocations: 2.938 MB / 0.82 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.8347, allocations: 64.41 kB / 0.82 GB, free: 7.164 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/0.8364, allocations: 1.185 MB / 0.8212 GB, free: 5.961 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-05/0.8365, allocations: 45.7 kB / 0.8212 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005516/0.837, allocations: 0.6799 MB / 0.8219 GB, free: 5.223 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.8373, allocations: 299.6 kB / 0.8222 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.722e-05/0.8374, allocations: 24 kB / 0.8222 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.8376, allocations: 341.9 kB / 0.8225 GB, free: 4.562 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.8381, allocations: 373.8 kB / 0.8229 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008391/0.839, allocations: 0.7113 MB / 0.8236 GB, free: 3.344 MB / 0.6387 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.01104/0.85, allocations: 2.375 MB / 0.8259 GB, free: 0.957 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/0.8501, allocations: 4 kB / 0.8259 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002216/0.8523, allocations: 1.299 MB / 0.8272 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.8523, allocations: 8 kB / 0.8272 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.8523, allocations: 8 kB / 0.8272 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.8527, allocations: 134.5 kB / 0.8273 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007746/0.8534, allocations: 203.7 kB / 0.8275 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004251/0.8577, allocations: 4.864 MB / 0.8322 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.8595, allocations: 103.7 kB / 0.8323 GB, free: 9.922 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.8596, allocations: 51.98 kB / 0.8324 GB, free: 9.871 MB / 0.6544 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.0009182/0.8605, allocations: 427.1 kB / 0.8328 GB, free: 9.445 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.8608, allocations: 142.3 kB / 0.8329 GB, free: 9.305 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.8626, allocations: 1.096 MB / 0.834 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.8626, allocations: 16.41 kB / 0.834 GB, free: 8.172 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.8626, allocations: 4 kB / 0.834 GB, free: 8.168 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/0.8639, allocations: 1.05 MB / 0.8351 GB, free: 7.062 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005902/0.8698, allocations: 3.117 MB / 0.8381 GB, free: 3.742 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.8699, allocations: 4 kB / 0.8381 GB, free: 3.738 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007176/0.8706, allocations: 159.9 kB / 0.8383 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002679/0.8709, allocations: 130.5 kB / 0.8384 GB, free: 3.445 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-05/0.871, allocations: 27.98 kB / 0.8384 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004395/0.8754, allocations: 4.851 MB / 0.8431 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/0.8754, allocations: 8 kB / 0.8432 GB, free: 14.16 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.8789, allocations: 2.088 MB / 0.8452 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.8801, allocations: 315.3 kB / 0.8455 GB, free: 11.38 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.8803, allocations: 24 kB / 0.8455 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009868/0.8813, allocations: 75.78 kB / 0.8456 GB, free: 11.28 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.8815, allocations: 80.27 kB / 0.8457 GB, free: 11.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.8816, allocations: 39.98 kB / 0.8457 GB, free: 11.16 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001411/0.883, allocations: 0.8343 MB / 0.8465 GB, free: 10.32 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.883, allocations: 0 / 0.8465 GB, free: 10.32 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001632/0.8847, allocations: 408 kB / 0.8469 GB, free: 9.926 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.004362/0.8891, allocations: 4.353 MB / 0.8512 GB, free: 5.387 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002124/0.8912, allocations: 1.262 MB / 0.8524 GB, free: 4.094 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.8912, allocations: 4.625 kB / 0.8524 GB, free: 4.09 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009961/0.8922, allocations: 0.7877 MB / 0.8532 GB, free: 3.262 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/0.8967, allocations: 0.8511 MB / 0.854 GB, free: 2.43 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3778/1.274, allocations: 14.43 MB / 0.8681 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/1.275, allocations: 1.382 MB / 0.8694 GB, free: 197.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001499/1.277, allocations: 352.2 kB / 0.8698 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007092/1.277, allocations: 0.5538 MB / 0.8703 GB, free: 197.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.142e-06/1.278, allocations: 0 / 0.8703 GB, free: 197.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08293/1.36, allocations: 42.75 MB / 0.9121 GB, free: 188.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/1.361, allocations: 244.2 kB / 0.9123 GB, free: 188 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.846/4.206, allocations: 3.938 kB / 0.9123 GB, free: 188 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: