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.007266/0.007267, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001541/0.001541, allocations: 191.3 kB / 16.67 MB, free: 5.523 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.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8111/0.8111, allocations: 135.1 MB / 425.6 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 60.72 kB / 0.5856 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1515, allocations: 80.93 MB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6087/0.7602, allocations: 214.6 MB / 0.8742 GB, free: 8.504 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02721/0.7875, allocations: 21.33 MB / 0.8951 GB, free: 3.109 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/0.7908, allocations: 51.69 kB / 0.8951 GB, free: 3.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002495/0.7933, allocations: 0.7532 MB / 0.8958 GB, free: 2.301 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01309/0.8065, allocations: 4.408 MB / 0.9002 GB, free: 13.88 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.81, allocations: 1.063 MB / 0.9012 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005732/0.8158, allocations: 3.918 MB / 0.905 GB, free: 8.887 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002337/0.8182, allocations: 1.583 MB / 0.9066 GB, free: 7.277 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003506/0.8217, allocations: 1.678 MB / 0.9082 GB, free: 5.594 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.825, allocations: 1.561 MB / 0.9097 GB, free: 4.039 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002966/0.8253, allocations: 160 kB / 0.9099 GB, free: 3.883 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004127/0.8295, allocations: 1.843 MB / 0.9117 GB, free: 2.035 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008654/0.8303, allocations: 0.7481 MB / 0.9124 GB, free: 1.285 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.8317, allocations: 0.9528 MB / 0.9133 GB, free: 336 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004478/0.8362, allocations: 2.945 MB / 0.9162 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8362, allocations: 0 / 0.9162 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8362, allocations: 0 / 0.9162 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.128e-05/0.8362, allocations: 3.984 kB / 0.9162 GB, free: 13.37 MB / 0.6856 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.003345/0.8396, allocations: 2.041 MB / 0.9182 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.8396, allocations: 9.109 kB / 0.9182 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002274/0.8419, allocations: 397.6 kB / 0.9186 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.844, allocations: 1.155 MB / 0.9197 GB, free: 9.66 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.075e-05/0.8441, allocations: 98.56 kB / 0.9198 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/0.8443, allocations: 139.9 kB / 0.92 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.8469, allocations: 1.586 MB / 0.9215 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.194e-05/0.8469, allocations: 4 kB / 0.9215 GB, free: 7.762 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.8471, allocations: 55.98 kB / 0.9216 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.994e-05/0.8471, allocations: 46.45 kB / 0.9216 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.8493, allocations: 1.301 MB / 0.9229 GB, free: 6.352 MB / 0.6856 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.008527/0.8578, allocations: 6.47 MB / 0.9292 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001499/0.8593, allocations: 0.935 MB / 0.9301 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006929/0.86, allocations: 494.4 kB / 0.9306 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007908/0.8608, allocations: 417 kB / 0.931 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.8609, allocations: 39.22 kB / 0.931 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.755e-06/0.8609, allocations: 0 / 0.931 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.006186/0.8671, allocations: 2.944 MB / 0.9339 GB, free: 10.44 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.8672, allocations: 60.41 kB / 0.9339 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002394/0.8696, allocations: 1.193 MB / 0.9351 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.8697, allocations: 45.7 kB / 0.9352 GB, free: 9.105 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006843/0.8704, allocations: 0.6837 MB / 0.9358 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000384/0.8708, allocations: 299.7 kB / 0.9361 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004317/0.8712, allocations: 190.6 kB / 0.9363 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.8714, allocations: 357.9 kB / 0.9366 GB, free: 7.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006411/0.8721, allocations: 373.8 kB / 0.937 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009635/0.8731, allocations: 0.7325 MB / 0.9377 GB, free: 6.324 MB / 0.7012 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.01239/0.8855, allocations: 2.906 MB / 0.9405 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.8855, allocations: 0 / 0.9405 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002554/0.8881, allocations: 1.304 MB / 0.9418 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.8881, allocations: 8 kB / 0.9418 GB, free: 1.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.141e-05/0.8881, allocations: 8 kB / 0.9418 GB, free: 1.949 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/0.8885, allocations: 135.2 kB / 0.942 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/0.8893, allocations: 203.7 kB / 0.9422 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004812/0.8941, allocations: 5.382 MB / 0.9474 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.8956, allocations: 47.89 kB / 0.9475 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.8957, allocations: 51.92 kB / 0.9475 GB, free: 11.71 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.0008737/0.8966, allocations: 431.3 kB / 0.9479 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003739/0.897, allocations: 146.2 kB / 0.9481 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002096/0.8991, allocations: 1.1 MB / 0.9491 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.8991, allocations: 8 kB / 0.9491 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.8991, allocations: 0 / 0.9491 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001432/0.9006, allocations: 1.047 MB / 0.9502 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005941/0.9065, allocations: 3.086 MB / 0.9532 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.9066, allocations: 8 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008023/0.9074, allocations: 159.8 kB / 0.9533 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002791/0.9077, allocations: 126.4 kB / 0.9535 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-05/0.9078, allocations: 36.39 kB / 0.9535 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004645/0.9124, allocations: 5.349 MB / 0.9587 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.568e-06/0.9124, allocations: 11.94 kB / 0.9587 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.9152, allocations: 1.765 MB / 0.9604 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007588/0.916, allocations: 319.2 kB / 0.9608 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003618/0.9164, allocations: 27.98 kB / 0.9608 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.9174, allocations: 32.06 kB / 0.9608 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.9176, allocations: 80.34 kB / 0.9609 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.9177, allocations: 32 kB / 0.9609 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001543/0.9192, allocations: 0.8461 MB / 0.9617 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9193, allocations: 0 / 0.9617 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001852/0.9211, allocations: 412 kB / 0.9621 GB, free: 11.89 MB / 0.7325 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.000653/0.9218, allocations: 243.6 kB / 0.9624 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002201/0.924, allocations: 1.293 MB / 0.9636 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/0.924, allocations: 4 kB / 0.9636 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.9251, allocations: 0.7854 MB / 0.9644 GB, free: 9.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/0.9297, allocations: 0.8952 MB / 0.9653 GB, free: 8.625 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005626/0.9353, allocations: 2.843 MB / 0.9681 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.9368, allocations: 1.355 MB / 0.9694 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001586/0.9384, allocations: 352.6 kB / 0.9697 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004461/0.9389, allocations: 111.4 kB / 0.9698 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/0.9389, allocations: 0 / 0.9698 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of Templates: time 0.05639/0.9953, allocations: 32.14 MB / 1.001 GB, free: 4.07 MB / 0.7637 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)