Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.PPM,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.63/1.63, allocations: 287.4 MB / 302.6 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009787/0.0009788, allocations: 178.5 kB / 371.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.4 MB / 0.6298 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007769/0.0007768, allocations: 106.6 kB / 0.7431 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003649, allocations: 20.11 kB / 0.8662 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1881, allocations: 115.3 MB / 0.9787 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.6035/0.7916, allocations: 195.5 MB / 1.17 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0231/0.8147, allocations: 19.81 MB / 1.189 GB, free: 11.44 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.8169, allocations: 37.41 kB / 1.189 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.8184, allocations: 0.5097 MB / 1.19 GB, free: 11 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00784/0.8262, allocations: 2.951 MB / 1.192 GB, free: 8.719 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.8284, allocations: 0.7719 MB / 1.193 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.004295/0.8327, allocations: 4.52 MB / 1.198 GB, free: 5.52 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.8343, allocations: 1.272 MB / 1.199 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.8366, allocations: 1.403 MB / 1.2 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.8387, allocations: 1.458 MB / 1.202 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.8389, allocations: 70.59 kB / 1.202 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.8415, allocations: 0.8912 MB / 1.203 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0006687/0.8421, allocations: 0.6443 MB / 1.203 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004472/0.8426, allocations: 357.7 kB / 1.204 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002257/0.8449, allocations: 2.025 MB / 1.205 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.8449, allocations: 0 / 1.205 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8449, allocations: 0 / 1.205 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.791e-05/0.8449, allocations: 0 / 1.205 GB, free: 0.9297 MB / 0.7292 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.003323/0.8482, allocations: 1.693 MB / 1.207 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.8483, allocations: 11.34 kB / 1.207 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/0.8486, allocations: 195.4 kB / 1.207 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.8506, allocations: 377.6 kB / 1.208 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.8527, allocations: 1.088 MB / 1.209 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.882e-05/0.8528, allocations: 101.8 kB / 1.209 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.8529, allocations: 138.7 kB / 1.209 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.8552, allocations: 1.576 MB / 1.211 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.8552, allocations: 2.281 kB / 1.211 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.8553, allocations: 51.66 kB / 1.211 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/0.8554, allocations: 49.11 kB / 1.211 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.8572, allocations: 1.276 MB / 1.212 GB, free: 12.78 MB / 0.7448 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.007263/0.8644, allocations: 6.511 MB / 1.218 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.8655, allocations: 0.7785 MB / 1.219 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005371/0.866, allocations: 431.2 kB / 1.219 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006429/0.8667, allocations: 425.5 kB / 1.22 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.8667, allocations: 43.22 kB / 1.22 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 2.534e-06/0.8667, allocations: 0 / 1.22 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.002639/0.8694, allocations: 1.541 MB / 1.221 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.8694, allocations: 60.06 kB / 1.221 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.8709, allocations: 1.247 MB / 1.223 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-05/0.871, allocations: 41.7 kB / 1.223 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005401/0.8715, allocations: 0.6992 MB / 1.223 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.8717, allocations: 268.2 kB / 1.224 GB, free: 256 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.8718, allocations: 16 kB / 1.224 GB, free: 240 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.8719, allocations: 345.9 kB / 1.224 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005226/0.8725, allocations: 357.8 kB / 1.224 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007527/0.8732, allocations: 0.7191 MB / 1.225 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.8744, allocations: 1.044 MB / 1.226 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.8745, allocations: 4 kB / 1.226 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00167/0.8761, allocations: 1.243 MB / 1.227 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.8762, allocations: 8 kB / 1.227 GB, free: 12.22 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.8762, allocations: 8 kB / 1.227 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/0.8765, allocations: 142.9 kB / 1.227 GB, free: 12.07 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006708/0.8771, allocations: 199.7 kB / 1.228 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.8806, allocations: 4.839 MB / 1.232 GB, free: 6.629 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.8818, allocations: 178.5 kB / 1.232 GB, free: 6.453 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.8819, allocations: 55.92 kB / 1.233 GB, free: 6.398 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 (112): * Single equations (assignments): 109 * 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.0006041/0.8825, allocations: 417.4 kB / 1.233 GB, free: 5.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001701/0.8827, allocations: 146.2 kB / 1.233 GB, free: 5.836 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.8842, allocations: 1.048 MB / 1.234 GB, free: 4.766 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8842, allocations: 12 kB / 1.234 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.8842, allocations: 0 / 1.234 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.8853, allocations: 0.9348 MB / 1.235 GB, free: 3.758 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/0.8887, allocations: 2.391 MB / 1.237 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.8887, allocations: 0 / 1.237 GB, free: 1.266 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006207/0.8893, allocations: 132.2 kB / 1.237 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002364/0.8896, allocations: 130.6 kB / 1.238 GB, free: 1 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.8896, allocations: 19.98 kB / 1.238 GB, free: 0.9805 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003485/0.8931, allocations: 4.812 MB / 1.242 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.8931, allocations: 8.016 kB / 1.242 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.8953, allocations: 1.532 MB / 1.244 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/0.8959, allocations: 315.2 kB / 1.244 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.8961, allocations: 23.98 kB / 1.244 GB, free: 9.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007596/0.8968, allocations: 63.73 kB / 1.244 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.897, allocations: 64.38 kB / 1.244 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/0.897, allocations: 23.98 kB / 1.244 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00111/0.8981, allocations: 0.8663 MB / 1.245 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8981, allocations: 0 / 1.245 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001468/0.8996, allocations: 447.3 kB / 1.246 GB, free: 8.363 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],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 (61): * Single equations (assignments): 58 * 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.002549/0.9022, allocations: 2.213 MB / 1.248 GB, free: 6.09 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.00171/0.9039, allocations: 1.191 MB / 1.249 GB, free: 4.859 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9039, allocations: 4 kB / 1.249 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0007486/0.9047, allocations: 0.7345 MB / 1.25 GB, free: 4.086 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00377/0.9085, allocations: 0.8392 MB / 1.25 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.9202, allocations: 8.838 MB / 1.259 GB, free: 9.93 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008141/0.9211, allocations: 1.351 MB / 1.26 GB, free: 8.551 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00126/0.9223, allocations: 352.6 kB / 1.261 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006274/0.923, allocations: 0.5344 MB / 1.261 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of SimCode: time 8.21e-07/0.923, allocations: 0 / 1.261 GB, free: 7.668 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2972/1.22, allocations: 41.95 MB / 1.302 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003475/1.221, allocations: 223.5 kB / 1.302 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/4.416, allocations: 0 / 1.302 GB, free: 13.93 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_PPM.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)