Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM") translateModel(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001066, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4583/0.4583, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 104.2 kB / 420 MB, free: 8.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 59.92 kB / 0.4891 GB, free: 7.668 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3661, allocations: 70.05 MB / 0.5575 GB, free: 44.83 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.68/1.046, allocations: 212.4 MB / 0.7649 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02431/1.071, allocations: 21.48 MB / 0.7859 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/1.073, allocations: 47 kB / 0.7859 GB, free: 332 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002124/1.075, allocations: 0.6207 MB / 0.7865 GB, free: 320 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01236/1.088, allocations: 3.988 MB / 0.7904 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004352/1.092, allocations: 0.9557 MB / 0.7913 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.007778/1.1, allocations: 5.399 MB / 0.7966 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003139/1.103, allocations: 1.337 MB / 0.7979 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005176/1.108, allocations: 1.465 MB / 0.7994 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005531/1.114, allocations: 1.604 MB / 0.8009 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0007798/1.115, allocations: 87.62 kB / 0.801 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00604/1.121, allocations: 2.101 MB / 0.8031 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/1.122, allocations: 0.6786 MB / 0.8037 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.002495/1.125, allocations: 0.8762 MB / 0.8046 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.007175/1.132, allocations: 2.97 MB / 0.8075 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/1.132, allocations: 0 / 0.8075 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.103e-06/1.132, allocations: 0 / 0.8075 GB, free: 5.066 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001289/1.132, allocations: 0 / 0.8075 GB, free: 5.066 MB / 0.5261 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.005256/1.137, allocations: 2.04 MB / 0.8095 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.137, allocations: 15.97 kB / 0.8095 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/1.14, allocations: 391.9 kB / 0.8099 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/1.142, allocations: 1.107 MB / 0.8109 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/1.142, allocations: 102.6 kB / 0.811 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/1.142, allocations: 132 kB / 0.8112 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0024/1.144, allocations: 1.591 MB / 0.8127 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/1.144, allocations: 2.531 kB / 0.8127 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/1.145, allocations: 52 kB / 0.8128 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/1.145, allocations: 50.45 kB / 0.8128 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001928/1.147, allocations: 1.295 MB / 0.8141 GB, free: 14.21 MB / 0.5417 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.008155/1.155, allocations: 6.485 MB / 0.8204 GB, free: 7.438 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.156, allocations: 0.9571 MB / 0.8213 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006536/1.157, allocations: 482.5 kB / 0.8218 GB, free: 6.008 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/1.158, allocations: 408 kB / 0.8222 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/1.158, allocations: 47.22 kB / 0.8222 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=82): time 3.176e-06/1.158, allocations: 0 / 0.8222 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of matching and sorting (n=84): time 0.005419/1.163, allocations: 2.946 MB / 0.8251 GB, free: 2.422 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.163, allocations: 60.41 kB / 0.8252 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/1.165, allocations: 1.197 MB / 0.8263 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.957e-05/1.165, allocations: 53.7 kB / 0.8264 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005137/1.165, allocations: 0.6712 MB / 0.827 GB, free: 412 kB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/1.166, allocations: 301.1 kB / 0.8273 GB, free: 112 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003107/1.166, allocations: 194.5 kB / 0.8275 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.00013/1.166, allocations: 345.9 kB / 0.8279 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/1.167, allocations: 373.8 kB / 0.8282 GB, free: 15.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/1.167, allocations: 0.7399 MB / 0.8289 GB, free: 14.32 MB / 0.5573 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.01181/1.179, allocations: 2.928 MB / 0.8318 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/1.179, allocations: 0 / 0.8318 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00248/1.182, allocations: 1.304 MB / 0.8331 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/1.182, allocations: 11.94 kB / 0.8331 GB, free: 10.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.182, allocations: 8 kB / 0.8331 GB, free: 10.01 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002939/1.182, allocations: 130.5 kB / 0.8332 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007552/1.183, allocations: 211.7 kB / 0.8334 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004137/1.187, allocations: 4.833 MB / 0.8381 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/1.189, allocations: 113.8 kB / 0.8382 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/1.189, allocations: 47.98 kB / 0.8383 GB, free: 4.316 MB / 0.5573 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.000839/1.19, allocations: 430.4 kB / 0.8387 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/1.19, allocations: 142.2 kB / 0.8388 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/1.192, allocations: 1.101 MB / 0.8399 GB, free: 2.645 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.192, allocations: 8 kB / 0.8399 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.192, allocations: 0 / 0.8399 GB, free: 2.637 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/1.194, allocations: 1.061 MB / 0.8409 GB, free: 1.523 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005986/1.2, allocations: 3.089 MB / 0.844 GB, free: 14.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.304e-05/1.2, allocations: 4 kB / 0.844 GB, free: 14.28 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007157/1.2, allocations: 155.6 kB / 0.8441 GB, free: 14.14 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002798/1.201, allocations: 126.5 kB / 0.8442 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/1.201, allocations: 24 kB / 0.8443 GB, free: 13.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003845/1.205, allocations: 4.821 MB / 0.849 GB, free: 8.789 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.205, allocations: 6.438 kB / 0.849 GB, free: 8.785 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/1.218, allocations: 6.477 MB / 0.8553 GB, free: 2.086 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007965/1.219, allocations: 315.2 kB / 0.8556 GB, free: 1.758 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000256/1.219, allocations: 31.98 kB / 0.8556 GB, free: 1.727 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/1.22, allocations: 63.95 kB / 0.8557 GB, free: 1.664 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/1.22, allocations: 81.66 kB / 0.8558 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/1.22, allocations: 35.98 kB / 0.8558 GB, free: 1.555 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001219/1.222, allocations: 0.8422 MB / 0.8566 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.61e-07/1.222, allocations: 0 / 0.8566 GB, free: 0.7109 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002195/1.224, allocations: 0.5625 MB / 0.8572 GB, free: 152 kB / 0.573 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.0006155/1.224, allocations: 245 kB / 0.8574 GB, free: 15.94 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001985/1.226, allocations: 1.273 MB / 0.8587 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.226, allocations: 4.625 kB / 0.8587 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009159/1.227, allocations: 0.788 MB / 0.8594 GB, free: 13.86 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004453/1.232, allocations: 0.8576 MB / 0.8603 GB, free: 13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006062/1.238, allocations: 3.87 MB / 0.864 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/1.239, allocations: 1.388 MB / 0.8654 GB, free: 7.617 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001778/1.241, allocations: 360.8 kB / 0.8657 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004969/1.242, allocations: 119.4 kB / 0.8659 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of SimCode: time 1.142e-06/1.242, allocations: 0 / 0.8659 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of Templates: time 0.05569/1.297, allocations: 32.32 MB / 0.8974 GB, free: 7.285 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)