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.004896/0.004896, allocations: 101.4 kB / 15.73 MB, free: 5.953 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.001125/0.001125, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9694/0.9694, allocations: 135.1 MB / 425.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.89 kB / 0.5856 GB, free: 3.293 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.3998, allocations: 80.92 MB / 0.6647 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6709/1.071, allocations: 214.6 MB / 0.8742 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02563/1.097, allocations: 21.33 MB / 0.8951 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003716/1.1, allocations: 52.88 kB / 0.8951 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/1.103, allocations: 0.7603 MB / 0.8958 GB, free: 1.789 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01316/1.116, allocations: 4.402 MB / 0.9001 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003486/1.12, allocations: 1.067 MB / 0.9012 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007416/1.127, allocations: 3.92 MB / 0.905 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004581/1.132, allocations: 1.578 MB / 0.9066 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004974/1.137, allocations: 1.679 MB / 0.9082 GB, free: 1.414 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004551/1.141, allocations: 1.564 MB / 0.9097 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009592/1.142, allocations: 161.3 kB / 0.9099 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005059/1.147, allocations: 1.843 MB / 0.9117 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/1.149, allocations: 0.742 MB / 0.9124 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002789/1.152, allocations: 0.9575 MB / 0.9133 GB, free: 1.348 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006376/1.158, allocations: 2.93 MB / 0.9162 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.158, allocations: 1 kB / 0.9162 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.108e-06/1.158, allocations: 0 / 0.9162 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001054/1.158, allocations: 3.938 kB / 0.9162 GB, free: 0.9766 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.005535/1.164, allocations: 2.044 MB / 0.9182 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/1.164, allocations: 7.5 kB / 0.9182 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002796/1.167, allocations: 397.5 kB / 0.9186 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003651/1.17, allocations: 1.168 MB / 0.9197 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/1.171, allocations: 105.1 kB / 0.9198 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005469/1.171, allocations: 130.2 kB / 0.9199 GB, free: 15.48 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/1.175, allocations: 1.588 MB / 0.9215 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.532e-05/1.175, allocations: 2.062 kB / 0.9215 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/1.175, allocations: 52.81 kB / 0.9216 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/1.175, allocations: 52.94 kB / 0.9216 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/1.178, allocations: 1.29 MB / 0.9229 GB, free: 15.25 MB / 0.7012 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.01011/1.188, allocations: 6.469 MB / 0.9292 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/1.19, allocations: 0.9506 MB / 0.9301 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006749/1.19, allocations: 478.1 kB / 0.9306 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008331/1.191, allocations: 411.1 kB / 0.931 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/1.191, allocations: 43.94 kB / 0.931 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 4.288e-06/1.191, allocations: 4.812 kB / 0.931 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.006648/1.198, allocations: 2.944 MB / 0.9339 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/1.198, allocations: 60.72 kB / 0.9339 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/1.2, allocations: 1.2 MB / 0.9351 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001427/1.2, allocations: 47.42 kB / 0.9352 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005743/1.201, allocations: 0.6875 MB / 0.9358 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003918/1.201, allocations: 290.9 kB / 0.9361 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003664/1.202, allocations: 198 kB / 0.9363 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.202, allocations: 348.7 kB / 0.9366 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005654/1.202, allocations: 370.1 kB / 0.937 GB, free: 9.602 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008882/1.203, allocations: 0.7322 MB / 0.9377 GB, free: 9.207 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.01201/1.215, allocations: 2.915 MB / 0.9405 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/1.215, allocations: 2.5 kB / 0.9405 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002468/1.218, allocations: 1.304 MB / 0.9418 GB, free: 8.625 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/1.218, allocations: 14.52 kB / 0.9418 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/1.218, allocations: 8.344 kB / 0.9418 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/1.218, allocations: 133.2 kB / 0.942 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007751/1.219, allocations: 200.6 kB / 0.9422 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004704/1.224, allocations: 5.365 MB / 0.9474 GB, free: 4.105 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.225, allocations: 53.89 kB / 0.9474 GB, free: 4.098 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/1.225, allocations: 46.81 kB / 0.9475 GB, free: 4.098 MB / 0.7012 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.0009647/1.226, allocations: 429.2 kB / 0.9479 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004509/1.227, allocations: 145.3 kB / 0.948 GB, free: 3.906 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/1.229, allocations: 1.1 MB / 0.9491 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/1.229, allocations: 6.188 kB / 0.9491 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.229, allocations: 5.406 kB / 0.9491 GB, free: 3.789 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001383/1.23, allocations: 1.049 MB / 0.9501 GB, free: 3.492 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005805/1.236, allocations: 3.082 MB / 0.9532 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.236, allocations: 11.22 kB / 0.9532 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/1.237, allocations: 158.8 kB / 0.9533 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/1.237, allocations: 128.5 kB / 0.9534 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-05/1.237, allocations: 27.5 kB / 0.9535 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00459/1.242, allocations: 5.371 MB / 0.9587 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/1.242, allocations: 8.375 kB / 0.9587 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/1.245, allocations: 1.767 MB / 0.9604 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009655/1.246, allocations: 316.2 kB / 0.9607 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004654/1.246, allocations: 23.69 kB / 0.9608 GB, free: 11.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.247, allocations: 30.98 kB / 0.9608 GB, free: 11.97 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/1.247, allocations: 76.61 kB / 0.9609 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-05/1.248, allocations: 36.17 kB / 0.9609 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001455/1.249, allocations: 0.8467 MB / 0.9617 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/1.249, allocations: 7.938 kB / 0.9617 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001907/1.251, allocations: 404.7 kB / 0.9621 GB, free: 11.42 MB / 0.7169 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.0006424/1.252, allocations: 239.3 kB / 0.9624 GB, free: 11.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002171/1.254, allocations: 1.291 MB / 0.9636 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.824e-06/1.254, allocations: 0 / 0.9636 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.255, allocations: 0.7865 MB / 0.9644 GB, free: 9.988 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004751/1.26, allocations: 0.8996 MB / 0.9653 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/1.265, allocations: 2.837 MB / 0.968 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001803/1.267, allocations: 1.359 MB / 0.9694 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001704/1.269, allocations: 348.6 kB / 0.9697 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/1.269, allocations: 111.4 kB / 0.9698 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of SimCode: time 1.523e-06/1.269, allocations: 0 / 0.9698 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of Templates: time 0.05691/1.326, allocations: 32.16 MB / 1.001 GB, free: 5.266 MB / 0.7481 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)