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.001601/0.001601, allocations: 108 kB / 15.61 MB, free: 152 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.002101/0.002101, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.459/1.459, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9612/0.9612, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 60.8 kB / 0.5053 GB, free: 5.352 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1735, allocations: 80.93 MB / 0.5844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5142/0.6878, allocations: 214.6 MB / 0.7939 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02926/0.7171, allocations: 21.33 MB / 0.8148 GB, free: 1.031 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002542/0.7196, allocations: 51.69 kB / 0.8148 GB, free: 0.9805 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.7221, allocations: 0.7337 MB / 0.8155 GB, free: 248 kB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.7343, allocations: 4.244 MB / 0.8197 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003445/0.7378, allocations: 1.052 MB / 0.8207 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006343/0.7441, allocations: 3.908 MB / 0.8245 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/0.747, allocations: 1.577 MB / 0.8261 GB, free: 5.41 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004493/0.7516, allocations: 1.627 MB / 0.8276 GB, free: 3.777 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004318/0.7559, allocations: 1.553 MB / 0.8292 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006813/0.7566, allocations: 164 kB / 0.8293 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/0.7611, allocations: 1.82 MB / 0.8311 GB, free: 252 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001179/0.7623, allocations: 0.7404 MB / 0.8318 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002226/0.7646, allocations: 0.9566 MB / 0.8328 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005722/0.7703, allocations: 2.902 MB / 0.8356 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.7703, allocations: 0 / 0.8356 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.885e-06/0.7704, allocations: 0 / 0.8356 GB, free: 11.63 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001189/0.7705, allocations: 4 kB / 0.8356 GB, free: 11.63 MB / 0.6544 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.005023/0.7755, allocations: 2.04 MB / 0.8376 GB, free: 9.535 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.7756, allocations: 8.031 kB / 0.8376 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/0.778, allocations: 401.5 kB / 0.838 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.7802, allocations: 1.089 MB / 0.839 GB, free: 7.984 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.237e-05/0.7803, allocations: 110.5 kB / 0.8391 GB, free: 7.875 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002299/0.7806, allocations: 143.8 kB / 0.8393 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002614/0.7832, allocations: 1.579 MB / 0.8408 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/0.7832, allocations: 0 / 0.8408 GB, free: 6.082 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.7834, allocations: 63.94 kB / 0.8409 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.722e-05/0.7834, allocations: 46.45 kB / 0.8409 GB, free: 5.973 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.7856, allocations: 1.29 MB / 0.8422 GB, free: 4.676 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.008339/0.7939, allocations: 6.512 MB / 0.8485 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.7954, allocations: 0.9389 MB / 0.8495 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006852/0.7961, allocations: 482.5 kB / 0.8499 GB, free: 12.33 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007799/0.7969, allocations: 413 kB / 0.8503 GB, free: 11.86 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.797, allocations: 43.22 kB / 0.8504 GB, free: 11.8 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 3.226e-06/0.797, allocations: 0 / 0.8504 GB, free: 11.8 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005811/0.8028, allocations: 2.949 MB / 0.8532 GB, free: 8.742 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.8029, allocations: 60.41 kB / 0.8533 GB, free: 8.668 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.8047, allocations: 1.193 MB / 0.8545 GB, free: 7.457 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.783e-05/0.8048, allocations: 45.7 kB / 0.8545 GB, free: 7.406 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005474/0.8054, allocations: 0.6761 MB / 0.8552 GB, free: 6.723 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002963/0.8057, allocations: 307.6 kB / 0.8555 GB, free: 6.418 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/0.806, allocations: 194.5 kB / 0.8556 GB, free: 6.223 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8061, allocations: 349.9 kB / 0.856 GB, free: 5.875 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/0.8068, allocations: 377.8 kB / 0.8563 GB, free: 5.508 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008708/0.8076, allocations: 0.7324 MB / 0.8571 GB, free: 4.621 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.01204/0.8197, allocations: 2.929 MB / 0.8599 GB, free: 1.578 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.8197, allocations: 4 kB / 0.8599 GB, free: 1.574 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002347/0.8221, allocations: 1.29 MB / 0.8612 GB, free: 272 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.8221, allocations: 8 kB / 0.8612 GB, free: 264 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.8221, allocations: 12.12 kB / 0.8612 GB, free: 252 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.8224, allocations: 134.4 kB / 0.8613 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3316/1.154, allocations: 201.4 kB / 0.8615 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004778/1.159, allocations: 5.369 MB / 0.8668 GB, free: 218.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/1.161, allocations: 51.64 kB / 0.8668 GB, free: 218.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/1.161, allocations: 47.28 kB / 0.8669 GB, free: 218.3 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 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.0008982/1.162, allocations: 440 kB / 0.8673 GB, free: 218.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/1.162, allocations: 137.7 kB / 0.8674 GB, free: 218.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/1.164, allocations: 1.094 MB / 0.8685 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/1.164, allocations: 9.625 kB / 0.8685 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/1.164, allocations: 7.109 kB / 0.8685 GB, free: 217.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001734/1.166, allocations: 1.048 MB / 0.8695 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006265/1.172, allocations: 3.088 MB / 0.8725 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.173, allocations: 6.375 kB / 0.8725 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009931/1.174, allocations: 159.1 kB / 0.8727 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003115/1.174, allocations: 131.4 kB / 0.8728 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.009e-05/1.174, allocations: 30.41 kB / 0.8728 GB, free: 215.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/1.178, allocations: 5.364 MB / 0.8781 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.178, allocations: 10.38 kB / 0.8781 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002977/1.181, allocations: 1.765 MB / 0.8798 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007154/1.182, allocations: 319 kB / 0.8801 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002599/1.182, allocations: 27.38 kB / 0.8801 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.183, allocations: 25.77 kB / 0.8802 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/1.184, allocations: 78.03 kB / 0.8802 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.595e-05/1.184, allocations: 40.05 kB / 0.8803 GB, free: 209.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001487/1.185, allocations: 0.8476 MB / 0.8811 GB, free: 209.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/1.185, allocations: 0 / 0.8811 GB, free: 209.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002293/1.188, allocations: 405 kB / 0.8815 GB, free: 209.3 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.0006005/1.188, allocations: 245.7 kB / 0.8817 GB, free: 209.2 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0027/1.191, allocations: 1.438 MB / 0.8831 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.191, allocations: 3.828 kB / 0.8831 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/1.192, allocations: 0.8052 MB / 0.8839 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.195, allocations: 0.8936 MB / 0.8848 GB, free: 207.9 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/1.2, allocations: 2.852 MB / 0.8876 GB, free: 206.5 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.201, allocations: 1.352 MB / 0.8889 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001459/1.202, allocations: 356.4 kB / 0.8892 GB, free: 205.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/1.202, allocations: 114 kB / 0.8893 GB, free: 205.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.563e-06/1.202, allocations: 0 / 0.8893 GB, free: 205.6 MB / 0.67 GB Notification: Performance of Templates: time 0.05352/1.256, allocations: 31.88 MB / 0.9205 GB, free: 198.8 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)