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.007364/0.007364, allocations: 95.16 kB / 15.73 MB, free: 6.043 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.001668/0.001668, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.426/1.426, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9825/0.9825, allocations: 135.1 MB / 425.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.5857 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4636, allocations: 80.92 MB / 0.6647 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6873/1.151, allocations: 214.6 MB / 0.8742 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02375/1.175, allocations: 21.33 MB / 0.8951 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/1.177, allocations: 52.09 kB / 0.8951 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002227/1.18, allocations: 0.7386 MB / 0.8958 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01072/1.19, allocations: 4.238 MB / 0.9 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/1.193, allocations: 1.068 MB / 0.901 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006212/1.2, allocations: 3.914 MB / 0.9048 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/1.203, allocations: 1.583 MB / 0.9064 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/1.207, allocations: 1.619 MB / 0.908 GB, free: 1.426 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00422/1.212, allocations: 1.551 MB / 0.9095 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005075/1.212, allocations: 161.8 kB / 0.9096 GB, free: 1.422 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004593/1.217, allocations: 1.826 MB / 0.9114 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008989/1.218, allocations: 0.7402 MB / 0.9121 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001771/1.219, allocations: 0.9587 MB / 0.9131 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004591/1.224, allocations: 2.947 MB / 0.916 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.224, allocations: 0 / 0.916 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.863e-06/1.224, allocations: 3.438 kB / 0.916 GB, free: 0.9766 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.096e-05/1.224, allocations: 0 / 0.916 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.00309/1.227, allocations: 2.1 MB / 0.918 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.227, allocations: 9.375 kB / 0.918 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002203/1.229, allocations: 407.1 kB / 0.9184 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001967/1.231, allocations: 1.165 MB / 0.9195 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.218e-05/1.231, allocations: 100.8 kB / 0.9196 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001755/1.232, allocations: 133.6 kB / 0.9198 GB, free: 15.42 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002305/1.234, allocations: 1.586 MB / 0.9213 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/1.234, allocations: 10.33 kB / 0.9213 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/1.234, allocations: 53.84 kB / 0.9214 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/1.234, allocations: 54.92 kB / 0.9214 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/1.236, allocations: 1.291 MB / 0.9227 GB, free: 15.19 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.00768/1.244, allocations: 6.49 MB / 0.929 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/1.245, allocations: 0.943 MB / 0.9299 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005688/1.246, allocations: 481 kB / 0.9304 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007065/1.246, allocations: 413 kB / 0.9308 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.246, allocations: 47.22 kB / 0.9308 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.614e-06/1.246, allocations: 0 / 0.9308 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.005116/1.252, allocations: 2.959 MB / 0.9337 GB, free: 10.55 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/1.252, allocations: 64.28 kB / 0.9338 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.253, allocations: 1.205 MB / 0.935 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/1.253, allocations: 43.27 kB / 0.935 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004682/1.254, allocations: 0.6921 MB / 0.9357 GB, free: 10.01 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/1.254, allocations: 313.1 kB / 0.936 GB, free: 9.812 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002801/1.254, allocations: 199.4 kB / 0.9362 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.254, allocations: 346.8 kB / 0.9365 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005168/1.255, allocations: 370.7 kB / 0.9369 GB, free: 9.48 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007988/1.256, allocations: 0.7315 MB / 0.9376 GB, free: 9.086 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.01141/1.267, allocations: 2.913 MB / 0.9404 GB, free: 8.66 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.324e-06/1.267, allocations: 6.562 kB / 0.9404 GB, free: 8.656 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00221/1.269, allocations: 1.31 MB / 0.9417 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/1.269, allocations: 13.16 kB / 0.9417 GB, free: 8.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/1.269, allocations: 13.59 kB / 0.9417 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/1.27, allocations: 132.3 kB / 0.9419 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/1.27, allocations: 203.1 kB / 0.9421 GB, free: 8.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/1.275, allocations: 5.363 MB / 0.9473 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/1.276, allocations: 49.89 kB / 0.9473 GB, free: 3.969 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/1.276, allocations: 49.55 kB / 0.9474 GB, free: 3.965 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.0007002/1.277, allocations: 444 kB / 0.9478 GB, free: 3.832 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/1.277, allocations: 146.4 kB / 0.9479 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001757/1.279, allocations: 1.09 MB / 0.949 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/1.279, allocations: 10.53 kB / 0.949 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/1.279, allocations: 0 / 0.949 GB, free: 3.652 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00122/1.28, allocations: 1.049 MB / 0.95 GB, free: 3.355 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004939/1.285, allocations: 3.09 MB / 0.9531 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.285, allocations: 5.531 kB / 0.9531 GB, free: 2.477 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007062/1.286, allocations: 161.7 kB / 0.9532 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002449/1.286, allocations: 128.2 kB / 0.9533 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/1.286, allocations: 29.89 kB / 0.9534 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004184/1.29, allocations: 5.367 MB / 0.9586 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/1.291, allocations: 9.25 kB / 0.9586 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/1.293, allocations: 1.781 MB / 0.9604 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007814/1.294, allocations: 324.9 kB / 0.9607 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/1.294, allocations: 22.88 kB / 0.9607 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000918/1.295, allocations: 26.48 kB / 0.9607 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/1.295, allocations: 79.89 kB / 0.9608 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/1.295, allocations: 35.7 kB / 0.9608 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00133/1.297, allocations: 0.8421 MB / 0.9617 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/1.297, allocations: 2.594 kB / 0.9617 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001708/1.298, allocations: 408.2 kB / 0.962 GB, free: 11.43 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.0005718/1.299, allocations: 247 kB / 0.9623 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002446/1.301, allocations: 1.287 MB / 0.9635 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/1.302, allocations: 6.688 kB / 0.9635 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001138/1.303, allocations: 0.7974 MB / 0.9643 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00429/1.307, allocations: 0.8864 MB / 0.9652 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/1.312, allocations: 2.877 MB / 0.968 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001145/1.313, allocations: 1.359 MB / 0.9693 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001336/1.314, allocations: 352.6 kB / 0.9697 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/1.315, allocations: 115.4 kB / 0.9698 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/1.315, allocations: 0 / 0.9698 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of Templates: time 0.05463/1.369, allocations: 32.16 MB / 1.001 GB, free: 5.348 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)