Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") translateModel(BuildingSystems.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001746/0.001746, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 280.3 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9898/0.9898, allocations: 169.3 MB / 0.4989 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001822/0.001822, allocations: 94.53 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1702, allocations: 86.97 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.PPM): time 0.5399/0.7102, allocations: 214.6 MB / 0.8912 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02483/0.7351, allocations: 21.34 MB / 0.912 GB, free: 2.324 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.7366, allocations: 51.75 kB / 0.9121 GB, free: 2.273 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002047/0.7387, allocations: 0.7452 MB / 0.9128 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009027/0.7478, allocations: 4.24 MB / 0.9169 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002562/0.7503, allocations: 1.073 MB / 0.918 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004553/0.7549, allocations: 3.914 MB / 0.9218 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.7571, allocations: 1.567 MB / 0.9233 GB, free: 6.68 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002741/0.7599, allocations: 1.623 MB / 0.9249 GB, free: 5.051 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002907/0.7628, allocations: 1.548 MB / 0.9264 GB, free: 3.504 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003471/0.7631, allocations: 160 kB / 0.9266 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.7665, allocations: 1.82 MB / 0.9284 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008349/0.7674, allocations: 0.7404 MB / 0.9291 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.7687, allocations: 0.9605 MB / 0.93 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.003811/0.7726, allocations: 2.929 MB / 0.9329 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7726, allocations: 7.938 kB / 0.9329 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.372e-06/0.7726, allocations: 0 / 0.9329 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.83e-05/0.7726, allocations: 0 / 0.9329 GB, free: 12.87 MB / 0.7012 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.003242/0.7759, allocations: 2.03 MB / 0.9349 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7759, allocations: 12.03 kB / 0.9349 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/0.7781, allocations: 405.4 kB / 0.9353 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002102/0.7802, allocations: 1.155 MB / 0.9364 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.312e-05/0.7803, allocations: 98.56 kB / 0.9365 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.7805, allocations: 136 kB / 0.9366 GB, free: 8.926 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.7828, allocations: 1.586 MB / 0.9382 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.7829, allocations: 4 kB / 0.9382 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/0.783, allocations: 63.98 kB / 0.9382 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.7831, allocations: 46.45 kB / 0.9383 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001954/0.785, allocations: 1.298 MB / 0.9396 GB, free: 5.848 MB / 0.7012 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.007425/0.7924, allocations: 6.477 MB / 0.9459 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.7938, allocations: 0.9494 MB / 0.9468 GB, free: 14 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006382/0.7945, allocations: 482.5 kB / 0.9473 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000725/0.7952, allocations: 417 kB / 0.9477 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.7953, allocations: 51.14 kB / 0.9477 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=82): time 2.344e-06/0.7953, allocations: 0 / 0.9477 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=84): time 0.004935/0.8002, allocations: 2.94 MB / 0.9506 GB, free: 9.922 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.645e-05/0.8003, allocations: 64.41 kB / 0.9506 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.8017, allocations: 1.193 MB / 0.9518 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.136e-05/0.8018, allocations: 49.7 kB / 0.9519 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.8022, allocations: 0.6837 MB / 0.9525 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.8025, allocations: 287.8 kB / 0.9528 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.8028, allocations: 194.4 kB / 0.953 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.8029, allocations: 357.9 kB / 0.9533 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005491/0.8034, allocations: 369.8 kB / 0.9537 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008275/0.8043, allocations: 0.7307 MB / 0.9544 GB, free: 5.816 MB / 0.7169 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.01157/0.8158, allocations: 2.923 MB / 0.9572 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.8159, allocations: 4 kB / 0.9572 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001971/0.8178, allocations: 1.297 MB / 0.9585 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.8179, allocations: 12 kB / 0.9585 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.8179, allocations: 8 kB / 0.9585 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/0.8182, allocations: 127.1 kB / 0.9587 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000766/0.8189, allocations: 215.7 kB / 0.9589 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2897/1.109, allocations: 5.363 MB / 0.9641 GB, free: 245.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/1.11, allocations: 48.27 kB / 0.9641 GB, free: 245.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/1.11, allocations: 44.34 kB / 0.9642 GB, free: 245.1 MB / 0.7169 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.0007224/1.111, allocations: 428.8 kB / 0.9646 GB, free: 245 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/1.111, allocations: 144.4 kB / 0.9647 GB, free: 245 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/1.113, allocations: 1.1 MB / 0.9658 GB, free: 244.9 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.113, allocations: 8.438 kB / 0.9658 GB, free: 244.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/1.113, allocations: 2.047 kB / 0.9658 GB, free: 244.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00133/1.114, allocations: 1.058 MB / 0.9669 GB, free: 244.3 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/1.12, allocations: 3.088 MB / 0.9699 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/1.12, allocations: 6.719 kB / 0.9699 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/1.12, allocations: 160.5 kB / 0.97 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/1.121, allocations: 130 kB / 0.9701 GB, free: 242.7 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/1.121, allocations: 27.5 kB / 0.9702 GB, free: 242.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/1.124, allocations: 5.363 MB / 0.9754 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/1.124, allocations: 10.03 kB / 0.9754 GB, free: 237.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/1.126, allocations: 1.733 MB / 0.9771 GB, free: 236.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/1.127, allocations: 319.1 kB / 0.9774 GB, free: 236.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/1.127, allocations: 28.98 kB / 0.9774 GB, free: 236.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/1.128, allocations: 24.17 kB / 0.9775 GB, free: 236.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.128, allocations: 78.45 kB / 0.9775 GB, free: 236.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/1.128, allocations: 37.22 kB / 0.9776 GB, free: 236.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00112/1.129, allocations: 0.8435 MB / 0.9784 GB, free: 236.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.41e-07/1.129, allocations: 0 / 0.9784 GB, free: 236.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001462/1.13, allocations: 408.3 kB / 0.9788 GB, free: 236.3 MB / 0.7169 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.0004987/1.131, allocations: 245.5 kB / 0.979 GB, free: 236.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001735/1.133, allocations: 1.292 MB / 0.9803 GB, free: 235.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.133, allocations: 1.031 kB / 0.9803 GB, free: 235.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000865/1.134, allocations: 0.7917 MB / 0.9811 GB, free: 235.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003432/1.137, allocations: 0.9024 MB / 0.9819 GB, free: 234.8 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/1.142, allocations: 2.839 MB / 0.9847 GB, free: 233.4 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009949/1.143, allocations: 1.357 MB / 0.986 GB, free: 232.7 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001248/1.144, allocations: 353.1 kB / 0.9864 GB, free: 232.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002978/1.144, allocations: 109.7 kB / 0.9865 GB, free: 232.6 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/1.144, allocations: 4 kB / 0.9865 GB, free: 232.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.04431/1.188, allocations: 31.78 MB / 1.018 GB, free: 217 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.PPM.pipe 2>&1)