Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.PPM") translateModel(IDEAS.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001443/0.001443, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001741/0.001741, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.317/1.317, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7635/0.7635, allocations: 132.2 MB / 422.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 64.38 kB / 0.5013 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4326, allocations: 80.19 MB / 0.5796 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2132/0.6459, allocations: 211.9 MB / 0.7866 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02528/0.6712, allocations: 21.17 MB / 0.8072 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.6733, allocations: 47.69 kB / 0.8073 GB, free: 7.742 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00211/0.6754, allocations: 0.649 MB / 0.8079 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009741/0.6852, allocations: 3.992 MB / 0.8118 GB, free: 3.086 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002682/0.6879, allocations: 0.9729 MB / 0.8128 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3742/1.062, allocations: 3.895 MB / 0.8166 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/1.066, allocations: 1.52 MB / 0.818 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/1.07, allocations: 1.641 MB / 0.8196 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003409/1.073, allocations: 1.658 MB / 0.8213 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000327/1.073, allocations: 162.1 kB / 0.8214 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003593/1.077, allocations: 1.909 MB / 0.8233 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008256/1.078, allocations: 0.7451 MB / 0.824 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001171/1.079, allocations: 0.9574 MB / 0.8249 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003923/1.083, allocations: 3.03 MB / 0.8279 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.083, allocations: 1.531 kB / 0.8279 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.883e-06/1.083, allocations: 0 / 0.8279 GB, free: 4.961 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.223e-05/1.083, allocations: 1.531 kB / 0.8279 GB, free: 4.961 MB / 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.003125/1.086, allocations: 2.038 MB / 0.8299 GB, free: 19.99 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/1.086, allocations: 10.47 kB / 0.8299 GB, free: 19.99 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/1.088, allocations: 399.8 kB / 0.8303 GB, free: 19.9 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/1.09, allocations: 1.1 MB / 0.8314 GB, free: 19.51 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.163e-05/1.09, allocations: 105.2 kB / 0.8315 GB, free: 19.5 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/1.09, allocations: 136.8 kB / 0.8316 GB, free: 19.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/1.092, allocations: 1.59 MB / 0.8332 GB, free: 19.29 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.123e-05/1.092, allocations: 3.375 kB / 0.8332 GB, free: 19.29 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/1.093, allocations: 48.47 kB / 0.8332 GB, free: 19.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/1.093, allocations: 57.45 kB / 0.8333 GB, free: 19.29 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001669/1.094, allocations: 1.293 MB / 0.8345 GB, free: 19.27 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.006368/1.101, allocations: 6.469 MB / 0.8408 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/1.102, allocations: 0.9421 MB / 0.8418 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005542/1.102, allocations: 486.7 kB / 0.8422 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008138/1.103, allocations: 412.4 kB / 0.8426 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.906e-05/1.103, allocations: 42.72 kB / 0.8427 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 6.602e-06/1.103, allocations: 4.797 kB / 0.8427 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.005903/1.109, allocations: 2.933 MB / 0.8455 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/1.109, allocations: 63.09 kB / 0.8456 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.111, allocations: 1.201 MB / 0.8468 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/1.111, allocations: 44.58 kB / 0.8468 GB, free: 14.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000406/1.111, allocations: 0.6779 MB / 0.8475 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/1.111, allocations: 301 kB / 0.8477 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00026/1.112, allocations: 200.4 kB / 0.8479 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001313/1.112, allocations: 347.8 kB / 0.8483 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004827/1.112, allocations: 373.9 kB / 0.8486 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007497/1.113, allocations: 0.7343 MB / 0.8493 GB, free: 13.25 MB / 0.6544 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.01113/1.124, allocations: 2.92 MB / 0.8522 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.124, allocations: 2.906 kB / 0.8522 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002091/1.126, allocations: 1.297 MB / 0.8535 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/1.126, allocations: 10.75 kB / 0.8535 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.126, allocations: 7.688 kB / 0.8535 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003054/1.127, allocations: 139.5 kB / 0.8536 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007794/1.128, allocations: 206.6 kB / 0.8538 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/1.132, allocations: 5.367 MB / 0.8591 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/1.133, allocations: 108.5 kB / 0.8592 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.41e-05/1.133, allocations: 48.06 kB / 0.8592 GB, free: 8.191 MB / 0.6544 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.000726/1.134, allocations: 430.2 kB / 0.8596 GB, free: 8.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002902/1.134, allocations: 141.1 kB / 0.8597 GB, free: 8 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/1.136, allocations: 1.094 MB / 0.8608 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/1.136, allocations: 10.53 kB / 0.8608 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.136, allocations: 1.625 kB / 0.8608 GB, free: 7.914 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/1.137, allocations: 1.052 MB / 0.8619 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00575/1.143, allocations: 3.085 MB / 0.8649 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/1.143, allocations: 5.656 kB / 0.8649 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/1.144, allocations: 160.7 kB / 0.865 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002461/1.144, allocations: 130.8 kB / 0.8651 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-05/1.144, allocations: 29.66 kB / 0.8652 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/1.148, allocations: 5.361 MB / 0.8704 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.148, allocations: 8.656 kB / 0.8704 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002641/1.151, allocations: 1.767 MB / 0.8721 GB, free: 1.828 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/1.152, allocations: 316.3 kB / 0.8724 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004531/1.153, allocations: 28.66 kB / 0.8725 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.154, allocations: 77.27 kB / 0.8725 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/1.154, allocations: 76.11 kB / 0.8726 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.38e-05/1.154, allocations: 32.84 kB / 0.8727 GB, free: 1.645 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001508/1.156, allocations: 0.8467 MB / 0.8735 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/1.156, allocations: 3.969 kB / 0.8735 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001973/1.158, allocations: 410.5 kB / 0.8739 GB, free: 1.531 MB / 0.6544 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.0006888/1.158, allocations: 251.6 kB / 0.8741 GB, free: 1.426 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002429/1.161, allocations: 1.451 MB / 0.8755 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.405e-05/1.161, allocations: 3.188 kB / 0.8755 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009344/1.162, allocations: 0.7872 MB / 0.8763 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004882/1.167, allocations: 0.8954 MB / 0.8772 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/1.173, allocations: 3.378 MB / 0.8805 GB, free: 14.87 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/1.175, allocations: 1.355 MB / 0.8818 GB, free: 14.14 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001779/1.177, allocations: 356.5 kB / 0.8821 GB, free: 14.06 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/1.177, allocations: 111.1 kB / 0.8822 GB, free: 14.05 MB / 0.67 GB Notification: Performance of SimCode: time 1.082e-06/1.177, allocations: 0 / 0.8822 GB, free: 14.05 MB / 0.67 GB Notification: Performance of Templates: time 0.05406/1.231, allocations: 31.71 MB / 0.9132 GB, free: 9.246 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)