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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001672, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6861/0.6861, allocations: 132.2 MB / 149 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 222.9 MB / 403.3 MB, free: 7.09 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 111.7 kB / 484.3 MB, free: 8.684 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 59.91 kB / 0.5618 GB, free: 71.02 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1428, allocations: 80.21 MB / 0.6402 GB, free: 6.75 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5126/0.6555, allocations: 212.4 MB / 0.8476 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.02286/0.6784, allocations: 21.48 MB / 0.8686 GB, free: 9.082 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.6801, allocations: 47.69 kB / 0.8686 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.6819, allocations: 0.6216 MB / 0.8692 GB, free: 8.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.009092/0.691, allocations: 3.985 MB / 0.8731 GB, free: 4.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/0.6937, allocations: 0.9517 MB / 0.874 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005202/0.6989, allocations: 5.392 MB / 0.8793 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.7004, allocations: 1.337 MB / 0.8806 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002179/0.7026, allocations: 1.455 MB / 0.882 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/0.7052, allocations: 1.595 MB / 0.8836 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.7054, allocations: 91.94 kB / 0.8837 GB, free: 9.543 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.7088, allocations: 2.1 MB / 0.8857 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.7094, allocations: 0.6778 MB / 0.8864 GB, free: 6.758 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008092/0.7102, allocations: 0.8746 MB / 0.8872 GB, free: 5.879 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003192/0.7134, allocations: 2.964 MB / 0.8901 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7135, allocations: 0 / 0.8901 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of FrontEnd: time 9.22e-07/0.7135, allocations: 0 / 0.8901 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.979e-05/0.7135, allocations: 4 kB / 0.8901 GB, free: 2.902 MB / 0.6198 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.002889/0.7164, allocations: 2.034 MB / 0.8921 GB, free: 0.8125 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.7164, allocations: 8.031 kB / 0.8921 GB, free: 0.8047 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.7183, allocations: 397.5 kB / 0.8925 GB, free: 424 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.7201, allocations: 1.101 MB / 0.8936 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.7202, allocations: 106.5 kB / 0.8937 GB, free: 15.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001816/0.7204, allocations: 147.8 kB / 0.8938 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.7226, allocations: 1.579 MB / 0.8954 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.7226, allocations: 3.938 kB / 0.8954 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.7227, allocations: 52 kB / 0.8954 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.268e-05/0.7228, allocations: 54.45 kB / 0.8955 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.7247, allocations: 1.294 MB / 0.8967 GB, free: 11.94 MB / 0.6355 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.007345/0.7321, allocations: 6.477 MB / 0.9031 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.7334, allocations: 0.9364 MB / 0.904 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.734, allocations: 482.5 kB / 0.9044 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/0.7347, allocations: 413 kB / 0.9048 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.7348, allocations: 55.08 kB / 0.9049 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/0.7348, allocations: 0 / 0.9049 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.004938/0.7397, allocations: 2.942 MB / 0.9078 GB, free: 20 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.7398, allocations: 60.41 kB / 0.9078 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.7412, allocations: 1.197 MB / 0.909 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.08e-05/0.7412, allocations: 41.7 kB / 0.909 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004543/0.7417, allocations: 0.6722 MB / 0.9097 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.7419, allocations: 307.6 kB / 0.91 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.7422, allocations: 194.5 kB / 0.9102 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7423, allocations: 349.9 kB / 0.9105 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.7428, allocations: 377.8 kB / 0.9108 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007794/0.7436, allocations: 0.7285 MB / 0.9116 GB, free: 11.91 MB / 0.6511 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.01119/0.7548, allocations: 2.921 MB / 0.9144 GB, free: 8.855 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.493e-06/0.7549, allocations: 4 kB / 0.9144 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002066/0.7569, allocations: 1.289 MB / 0.9157 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.757, allocations: 12.03 kB / 0.9157 GB, free: 7.531 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.757, allocations: 8 kB / 0.9157 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.7573, allocations: 138.4 kB / 0.9158 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007627/0.7581, allocations: 207.7 kB / 0.916 GB, free: 7.176 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003907/0.762, allocations: 4.824 MB / 0.9207 GB, free: 1.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.7635, allocations: 107.3 kB / 0.9208 GB, free: 1.848 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.7636, allocations: 44 kB / 0.9209 GB, free: 1.805 MB / 0.6511 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.0006932/0.7643, allocations: 437.3 kB / 0.9213 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/0.7645, allocations: 138.3 kB / 0.9214 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/0.7661, allocations: 1.092 MB / 0.9225 GB, free: 124 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.7662, allocations: 8 kB / 0.9225 GB, free: 116 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7662, allocations: 3.984 kB / 0.9225 GB, free: 112 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/0.7674, allocations: 1.058 MB / 0.9235 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.7722, allocations: 3.078 MB / 0.9265 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.7722, allocations: 8 kB / 0.9266 GB, free: 11.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006916/0.7729, allocations: 163.7 kB / 0.9267 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/0.7732, allocations: 135.2 kB / 0.9268 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.588e-05/0.7732, allocations: 23.98 kB / 0.9269 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.7768, allocations: 4.808 MB / 0.9316 GB, free: 6.168 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.7768, allocations: 11.92 kB / 0.9316 GB, free: 6.156 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.7887, allocations: 6.565 MB / 0.938 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.7894, allocations: 315.3 kB / 0.9383 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/0.7896, allocations: 24 kB / 0.9383 GB, free: 15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009043/0.7905, allocations: 79.83 kB / 0.9384 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.7907, allocations: 76.3 kB / 0.9384 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.869e-05/0.7908, allocations: 35.98 kB / 0.9385 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001132/0.7919, allocations: 0.8461 MB / 0.9393 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.7919, allocations: 0 / 0.9393 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002094/0.794, allocations: 0.5664 MB / 0.9399 GB, free: 13.4 MB / 0.6823 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.0005659/0.7946, allocations: 265 kB / 0.9401 GB, free: 13.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.7965, allocations: 1.277 MB / 0.9414 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.7966, allocations: 0 / 0.9414 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008837/0.7974, allocations: 0.794 MB / 0.9421 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003879/0.8013, allocations: 0.8349 MB / 0.943 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.8062, allocations: 3.866 MB / 0.9467 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.8073, allocations: 1.396 MB / 0.9481 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001343/0.8086, allocations: 360.8 kB / 0.9484 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000327/0.809, allocations: 119.4 kB / 0.9485 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of SimCode: time 4.41e-07/0.809, allocations: 0 / 0.9485 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of Templates: time 0.3824/1.191, allocations: 32.31 MB / 0.9801 GB, free: 247.7 MB / 0.6823 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)