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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001901/0.001901, allocations: 192.2 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.279/2.279, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.495/1.495, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002502/0.002502, allocations: 64.25 kB / 0.505 GB, free: 5.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2611, allocations: 80.92 MB / 0.584 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6688/0.9299, allocations: 211.9 MB / 0.7909 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.9522, allocations: 21.17 MB / 0.8116 GB, free: 4.016 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.9539, allocations: 47.69 kB / 0.8117 GB, free: 3.969 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.9559, allocations: 0.649 MB / 0.8123 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/0.9696, allocations: 3.982 MB / 0.8162 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003908/0.9735, allocations: 0.9834 MB / 0.8171 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006972/0.9805, allocations: 3.904 MB / 0.8209 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.9837, allocations: 1.525 MB / 0.8224 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.9878, allocations: 1.643 MB / 0.824 GB, free: 7.227 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004279/0.9921, allocations: 1.645 MB / 0.8256 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000539/0.9927, allocations: 164 kB / 0.8258 GB, free: 5.426 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005197/0.9979, allocations: 1.917 MB / 0.8277 GB, free: 3.504 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.9992, allocations: 0.7442 MB / 0.8284 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002012/1.001, allocations: 0.9566 MB / 0.8293 GB, free: 1.797 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005439/1.007, allocations: 3.034 MB / 0.8323 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.309e-06/1.007, allocations: 0 / 0.8323 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/1.007, allocations: 0 / 0.8323 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.025e-05/1.007, allocations: 0 / 0.8323 GB, free: 14.75 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.005136/1.012, allocations: 2.048 MB / 0.8343 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.012, allocations: 8.031 kB / 0.8343 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004082/1.012, allocations: 202.1 kB / 0.8345 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003632/1.016, allocations: 385.6 kB / 0.8349 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002857/1.019, allocations: 1.101 MB / 0.8359 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/1.019, allocations: 106.5 kB / 0.836 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/1.019, allocations: 143.8 kB / 0.8362 GB, free: 10.65 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/1.023, allocations: 1.575 MB / 0.8377 GB, free: 9.004 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/1.023, allocations: 4.812 kB / 0.8377 GB, free: 9 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/1.023, allocations: 55.94 kB / 0.8378 GB, free: 8.945 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.128e-05/1.024, allocations: 62.42 kB / 0.8378 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/1.027, allocations: 1.294 MB / 0.8391 GB, free: 7.582 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.01135/1.038, allocations: 6.461 MB / 0.8454 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/1.04, allocations: 0.9433 MB / 0.8463 GB, free: 15.76 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009988/1.041, allocations: 482.5 kB / 0.8468 GB, free: 15.29 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/1.042, allocations: 413 kB / 0.8472 GB, free: 14.81 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.917e-05/1.042, allocations: 43.22 kB / 0.8472 GB, free: 14.76 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 4.719e-06/1.042, allocations: 0 / 0.8472 GB, free: 14.76 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.006912/1.049, allocations: 2.944 MB / 0.8501 GB, free: 11.71 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/1.049, allocations: 60.41 kB / 0.8502 GB, free: 11.63 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/1.051, allocations: 1.197 MB / 0.8513 GB, free: 10.42 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/1.051, allocations: 45.7 kB / 0.8514 GB, free: 10.37 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006403/1.052, allocations: 0.6799 MB / 0.852 GB, free: 9.68 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/1.052, allocations: 303.7 kB / 0.8523 GB, free: 9.379 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003063/1.053, allocations: 198.5 kB / 0.8525 GB, free: 9.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001485/1.053, allocations: 345.9 kB / 0.8528 GB, free: 8.836 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/1.053, allocations: 373.8 kB / 0.8532 GB, free: 8.473 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009037/1.054, allocations: 0.7286 MB / 0.8539 GB, free: 7.59 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.01223/1.066, allocations: 2.932 MB / 0.8568 GB, free: 4.535 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.228e-06/1.067, allocations: 4 kB / 0.8568 GB, free: 4.531 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002125/1.069, allocations: 1.285 MB / 0.858 GB, free: 3.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.069, allocations: 16.06 kB / 0.858 GB, free: 3.215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/1.069, allocations: 8 kB / 0.8581 GB, free: 3.207 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002687/1.069, allocations: 134.4 kB / 0.8582 GB, free: 3.066 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/1.07, allocations: 203.7 kB / 0.8584 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2827/1.353, allocations: 5.367 MB / 0.8636 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.354, allocations: 107.1 kB / 0.8637 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/1.354, allocations: 46.69 kB / 0.8638 GB, free: 219.1 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.0006184/1.355, allocations: 431.8 kB / 0.8642 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/1.355, allocations: 142.4 kB / 0.8643 GB, free: 219 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/1.357, allocations: 1.093 MB / 0.8654 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.357, allocations: 8.594 kB / 0.8654 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/1.357, allocations: 0 / 0.8654 GB, free: 218.9 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001105/1.358, allocations: 1.057 MB / 0.8664 GB, free: 218.6 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004471/1.362, allocations: 3.082 MB / 0.8694 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/1.362, allocations: 5.781 kB / 0.8694 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/1.363, allocations: 160.2 kB / 0.8696 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002319/1.363, allocations: 128.8 kB / 0.8697 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/1.363, allocations: 27.66 kB / 0.8697 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002935/1.366, allocations: 5.362 MB / 0.875 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.366, allocations: 13 kB / 0.875 GB, free: 212.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/1.368, allocations: 1.773 MB / 0.8767 GB, free: 211.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006067/1.369, allocations: 314.9 kB / 0.877 GB, free: 211.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.369, allocations: 25.56 kB / 0.877 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/1.37, allocations: 78.86 kB / 0.8771 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/1.37, allocations: 77.52 kB / 0.8772 GB, free: 211.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.795e-05/1.37, allocations: 38.17 kB / 0.8772 GB, free: 211.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000997/1.371, allocations: 0.8433 MB / 0.8781 GB, free: 210.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.5e-07/1.371, allocations: 0 / 0.8781 GB, free: 210.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001391/1.373, allocations: 411.8 kB / 0.8784 GB, free: 210.8 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.002469/1.375, allocations: 2.446 MB / 0.8808 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001981/1.377, allocations: 1.445 MB / 0.8822 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/1.377, allocations: 2.719 kB / 0.8822 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/1.378, allocations: 0.7917 MB / 0.883 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/1.381, allocations: 0.9007 MB / 0.8839 GB, free: 208 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01451/1.396, allocations: 12.62 MB / 0.8962 GB, free: 200.6 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008259/1.397, allocations: 1.353 MB / 0.8975 GB, free: 199.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001527/1.398, allocations: 351 kB / 0.8979 GB, free: 199.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006841/1.399, allocations: 0.5511 MB / 0.8984 GB, free: 199.4 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/1.399, allocations: 0 / 0.8984 GB, free: 199.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4555/1.854, allocations: 43.11 MB / 0.9405 GB, free: 184.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/1.855, allocations: 244.7 kB / 0.9408 GB, free: 184.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.566/6.421, allocations: 0 / 0.9408 GB, free: 184.1 MB / 0.67 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)