Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001009/0.001009, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9564/0.9564, allocations: 135.3 MB / 427.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003235, allocations: 12.23 kB / 0.5082 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1652, allocations: 82.31 MB / 0.5886 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5664/0.7316, allocations: 209.5 MB / 0.7932 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02863/0.7603, allocations: 21.21 MB / 0.8139 GB, free: 5.578 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002483/0.7628, allocations: 39.75 kB / 0.814 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00239/0.7653, allocations: 0.6217 MB / 0.8146 GB, free: 4.914 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.7777, allocations: 3.981 MB / 0.8185 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.7811, allocations: 0.9521 MB / 0.8194 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008165/0.7893, allocations: 5.382 MB / 0.8247 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003/0.7923, allocations: 1.291 MB / 0.8259 GB, free: 9.254 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.7964, allocations: 1.4 MB / 0.8273 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004793/0.8012, allocations: 1.541 MB / 0.8288 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006987/0.8019, allocations: 72 kB / 0.8289 GB, free: 6.242 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006268/0.8082, allocations: 2.081 MB / 0.8309 GB, free: 4.156 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.8099, allocations: 0.6466 MB / 0.8315 GB, free: 3.508 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003268/0.8132, allocations: 0.8684 MB / 0.8324 GB, free: 2.629 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00498/0.8182, allocations: 2.151 MB / 0.8345 GB, free: 484 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.8182, allocations: 0 / 0.8345 GB, free: 484 kB / 0.6387 GB Notification: Performance of FrontEnd: time 5.721e-06/0.8182, allocations: 4 kB / 0.8345 GB, free: 480 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001409/0.8184, allocations: 0 / 0.8345 GB, free: 480 kB / 0.6387 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.005171/0.8236, allocations: 1.709 MB / 0.8361 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.8236, allocations: 8.031 kB / 0.8361 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/0.8265, allocations: 401.5 kB / 0.8365 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002608/0.8291, allocations: 1.097 MB / 0.8376 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.8293, allocations: 98.56 kB / 0.8377 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000338/0.8296, allocations: 139.9 kB / 0.8378 GB, free: 12.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003183/0.8328, allocations: 1.585 MB / 0.8394 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.251e-05/0.8329, allocations: 7.906 kB / 0.8394 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/0.833, allocations: 59.98 kB / 0.8394 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-05/0.8331, allocations: 50.44 kB / 0.8395 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/0.8355, allocations: 1.294 MB / 0.8408 GB, free: 9.84 MB / 0.6544 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.009495/0.845, allocations: 6.477 MB / 0.8471 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.8466, allocations: 0.9436 MB / 0.848 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.8473, allocations: 485.3 kB / 0.8485 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007932/0.8482, allocations: 429 kB / 0.8489 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.276e-05/0.8482, allocations: 43.22 kB / 0.8489 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.8482, allocations: 0 / 0.8489 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.006168/0.8544, allocations: 2.94 MB / 0.8518 GB, free: 13.92 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.8545, allocations: 60.41 kB / 0.8518 GB, free: 13.85 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001888/0.8564, allocations: 1.205 MB / 0.853 GB, free: 12.63 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.8565, allocations: 45.7 kB / 0.8531 GB, free: 12.58 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.8571, allocations: 0.6761 MB / 0.8537 GB, free: 11.89 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.8575, allocations: 299.6 kB / 0.854 GB, free: 11.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001256/0.8576, allocations: 85.67 kB / 0.8541 GB, free: 11.51 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8578, allocations: 353.9 kB / 0.8544 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006008/0.8584, allocations: 369.8 kB / 0.8548 GB, free: 10.8 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.8593, allocations: 0.7325 MB / 0.8555 GB, free: 9.918 MB / 0.67 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.01275/0.872, allocations: 3.206 MB / 0.8586 GB, free: 6.586 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.311e-05/0.8721, allocations: 4 kB / 0.8586 GB, free: 6.582 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002497/0.8746, allocations: 1.289 MB / 0.8599 GB, free: 5.277 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/0.8747, allocations: 11.98 kB / 0.8599 GB, free: 5.266 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.8747, allocations: 11.94 kB / 0.8599 GB, free: 5.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003212/0.875, allocations: 130.5 kB / 0.86 GB, free: 5.117 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008012/0.8758, allocations: 208 kB / 0.8602 GB, free: 4.914 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3069/1.183, allocations: 4.826 MB / 0.8649 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/1.185, allocations: 99.25 kB / 0.865 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001085/1.185, allocations: 46.94 kB / 0.8651 GB, free: 216.6 MB / 0.67 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 (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.0007716/1.185, allocations: 430.8 kB / 0.8655 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/1.186, allocations: 140.6 kB / 0.8656 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/1.187, allocations: 1.093 MB / 0.8667 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.187, allocations: 9.469 kB / 0.8667 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/1.187, allocations: 0 / 0.8667 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/1.188, allocations: 1.058 MB / 0.8677 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004614/1.193, allocations: 3.117 MB / 0.8708 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.193, allocations: 7.906 kB / 0.8708 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/1.194, allocations: 166 kB / 0.871 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002355/1.194, allocations: 137.6 kB / 0.8711 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/1.194, allocations: 19.16 kB / 0.8711 GB, free: 215.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/1.197, allocations: 4.815 MB / 0.8758 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/1.197, allocations: 9.125 kB / 0.8758 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002/1.199, allocations: 1.767 MB / 0.8775 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000552/1.199, allocations: 321 kB / 0.8778 GB, free: 210.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/1.2, allocations: 28.47 kB / 0.8779 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/1.2, allocations: 81.89 kB / 0.878 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.201, allocations: 76.25 kB / 0.878 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/1.201, allocations: 36.59 kB / 0.8781 GB, free: 210.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009633/1.202, allocations: 0.8465 MB / 0.8789 GB, free: 210.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.202, allocations: 0 / 0.8789 GB, free: 210.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001393/1.203, allocations: 406.8 kB / 0.8793 GB, free: 210.2 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.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 (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.0005092/1.204, allocations: 247 kB / 0.8795 GB, free: 210.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001531/1.205, allocations: 1.269 MB / 0.8807 GB, free: 209.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/1.205, allocations: 0 / 0.8807 GB, free: 209.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/1.206, allocations: 0.7837 MB / 0.8815 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004543/1.21, allocations: 0.8504 MB / 0.8823 GB, free: 208.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/1.214, allocations: 3.555 MB / 0.8858 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007022/1.215, allocations: 1.36 MB / 0.8871 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003576/1.215, allocations: 118.5 kB / 0.8873 GB, free: 206.1 MB / 0.67 GB Notification: Performance of SimCode: time 2.455e-06/1.215, allocations: 0 / 0.8873 GB, free: 206.1 MB / 0.67 GB Notification: Performance of Templates: time 0.05646/1.272, allocations: 42.95 MB / 0.9292 GB, free: 192.6 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)