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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 87.31 kB / 16.66 MB, free: 5.867 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.001257/0.001257, allocations: 172.9 kB / 17.57 MB, free: 5.543 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.505/1.505, allocations: 223.3 MB / 241.6 MB, free: 14.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7085/0.7085, allocations: 115.5 MB / 408.2 MB, free: 7.09 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.0004751, allocations: 8 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4536, allocations: 77.52 MB / 0.5606 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.6654/1.119, allocations: 215.7 MB / 0.7712 GB, free: 2.023 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.02721/1.146, allocations: 22.2 MB / 0.7929 GB, free: 1.641 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002581/1.149, allocations: 47.28 kB / 0.7929 GB, free: 1.641 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/1.151, allocations: 0.6796 MB / 0.7936 GB, free: 1.633 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.01228/1.164, allocations: 4.132 MB / 0.7976 GB, free: 1.422 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/1.168, allocations: 1.108 MB / 0.7987 GB, free: 1.395 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.007478/1.175, allocations: 5.672 MB / 0.8042 GB, free: 1.379 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002358/1.177, allocations: 1.324 MB / 0.8055 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004255/1.182, allocations: 1.592 MB / 0.8071 GB, free: 17.15 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00522/1.187, allocations: 1.601 MB / 0.8086 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003953/1.187, allocations: 75.38 kB / 0.8087 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005538/1.193, allocations: 2.422 MB / 0.8111 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/1.194, allocations: 0.6784 MB / 0.8117 GB, free: 17.1 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001622/1.196, allocations: 0.907 MB / 0.8126 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003102/1.199, allocations: 2.31 MB / 0.8149 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/1.199, allocations: 0 / 0.8149 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.665e-06/1.199, allocations: 4 kB / 0.8149 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.259e-05/1.199, allocations: 0 / 0.8149 GB, free: 16.38 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.003006/1.202, allocations: 1.808 MB / 0.8166 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.202, allocations: 12.75 kB / 0.8167 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/1.204, allocations: 411 kB / 0.817 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/1.206, allocations: 1.147 MB / 0.8182 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.608e-05/1.206, allocations: 102 kB / 0.8183 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/1.206, allocations: 147.8 kB / 0.8184 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/1.209, allocations: 1.631 MB / 0.82 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/1.209, allocations: 2.688 kB / 0.82 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/1.209, allocations: 57.19 kB / 0.8201 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.445e-05/1.209, allocations: 53.25 kB / 0.8201 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001938/1.211, allocations: 1.331 MB / 0.8214 GB, free: 13.65 MB / 0.5919 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.00814/1.219, allocations: 7.151 MB / 0.8284 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/1.221, allocations: 0.9323 MB / 0.8293 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006035/1.221, allocations: 481 kB / 0.8298 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007049/1.222, allocations: 433 kB / 0.8302 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/1.222, allocations: 38.47 kB / 0.8302 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 3.186e-06/1.222, allocations: 0 / 0.8302 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.002979/1.225, allocations: 1.65 MB / 0.8318 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/1.225, allocations: 65.22 kB / 0.8319 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/1.227, allocations: 1.191 MB / 0.833 GB, free: 6.961 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.514e-05/1.227, allocations: 45.86 kB / 0.8331 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/1.227, allocations: 0.7204 MB / 0.8338 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/1.227, allocations: 300 kB / 0.8341 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001118/1.228, allocations: 90.66 kB / 0.8342 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.228, allocations: 344.9 kB / 0.8345 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/1.228, allocations: 365.4 kB / 0.8348 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/1.229, allocations: 0.7253 MB / 0.8355 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.23, allocations: 1.068 MB / 0.8366 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.23, allocations: 4.219 kB / 0.8366 GB, free: 5.082 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00193/1.232, allocations: 1.289 MB / 0.8379 GB, free: 4.805 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/1.232, allocations: 335.5 kB / 0.8382 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.233, allocations: 9.375 kB / 0.8382 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003062/1.233, allocations: 137 kB / 0.8383 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009444/1.234, allocations: 222.3 kB / 0.8385 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004135/1.238, allocations: 5.424 MB / 0.8438 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.24, allocations: 203.7 kB / 0.844 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/1.24, allocations: 44.06 kB / 0.8441 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.794e-06/1.24, allocations: 3.438 kB / 0.8441 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001683/1.242, allocations: 1.129 MB / 0.8452 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.242, allocations: 9.094 kB / 0.8452 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/1.242, allocations: 129.2 kB / 0.8453 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007426/1.243, allocations: 208.8 kB / 0.8455 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/1.246, allocations: 4.844 MB / 0.8502 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.248, allocations: 183.9 kB / 0.8504 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-05/1.248, allocations: 50.08 kB / 0.8504 GB, free: 10.74 MB / 0.6075 GB 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): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001014/1.249, allocations: 0.501 MB / 0.8509 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/1.249, allocations: 143.1 kB / 0.8511 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001797/1.251, allocations: 1.071 MB / 0.8521 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.251, allocations: 12 kB / 0.8521 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/1.251, allocations: 0 / 0.8521 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001283/1.253, allocations: 1.028 MB / 0.8531 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004478/1.257, allocations: 2.59 MB / 0.8557 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.964e-06/1.257, allocations: 4 kB / 0.8557 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/1.258, allocations: 163.4 kB / 0.8558 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002573/1.258, allocations: 125.1 kB / 0.8559 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/1.258, allocations: 27.98 kB / 0.856 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004172/1.262, allocations: 5.409 MB / 0.8613 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.262, allocations: 10.5 kB / 0.8613 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/1.265, allocations: 1.656 MB / 0.8629 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008527/1.266, allocations: 323.2 kB / 0.8632 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00035/1.266, allocations: 20 kB / 0.8632 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.267, allocations: 91.42 kB / 0.8633 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.267, allocations: 71.14 kB / 0.8634 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.018e-05/1.268, allocations: 27.98 kB / 0.8634 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001177/1.269, allocations: 0.8143 MB / 0.8642 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.269, allocations: 0 / 0.8642 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002688/1.271, allocations: 0.834 MB / 0.865 GB, free: 11.76 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.m,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 (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0006777/1.272, allocations: 245.7 kB / 0.8652 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003395/1.276, allocations: 2.205 MB / 0.8674 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/1.276, allocations: 0 / 0.8674 GB, free: 9.328 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/1.277, allocations: 0.8022 MB / 0.8682 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004834/1.281, allocations: 0.7924 MB / 0.8689 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/1.288, allocations: 3.699 MB / 0.8726 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001402/1.289, allocations: 1.392 MB / 0.8739 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/1.289, allocations: 119.4 kB / 0.874 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of SimCode: time 1.402e-06/1.29, allocations: 0 / 0.874 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of Templates: time 0.06443/1.354, allocations: 50.23 MB / 0.9231 GB, free: 440 kB / 0.67 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)