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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.PPM,fileNamePrefix="IDEAS_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.01269/0.01269, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.002623/0.002623, allocations: 200 kB / 16.68 MB, free: 5.922 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.479/2.479, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.276/1.276, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 68.11 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2846, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 1.267/1.552, allocations: 214.6 MB / 0.8688 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0514/1.603, allocations: 21.33 MB / 0.8896 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004251/1.608, allocations: 55.69 kB / 0.8897 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004005/1.612, allocations: 0.7375 MB / 0.8904 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01941/1.631, allocations: 4.244 MB / 0.8945 GB, free: 5.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006619/1.638, allocations: 1.062 MB / 0.8956 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01067/1.649, allocations: 3.914 MB / 0.8994 GB, free: 108 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005101/1.654, allocations: 1.574 MB / 0.9009 GB, free: 14.5 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007029/1.661, allocations: 1.65 MB / 0.9025 GB, free: 12.84 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00661/1.668, allocations: 1.548 MB / 0.904 GB, free: 11.3 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001162/1.669, allocations: 160 kB / 0.9042 GB, free: 11.14 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009037/1.678, allocations: 1.828 MB / 0.906 GB, free: 9.312 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00263/1.681, allocations: 0.7442 MB / 0.9067 GB, free: 8.566 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003739/1.684, allocations: 0.9565 MB / 0.9076 GB, free: 7.605 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01157/1.696, allocations: 2.929 MB / 0.9105 GB, free: 4.668 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.696, allocations: 3.938 kB / 0.9105 GB, free: 4.664 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.124e-06/1.696, allocations: 0 / 0.9105 GB, free: 4.664 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001302/1.696, allocations: 0 / 0.9105 GB, free: 4.664 MB / 0.67 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.009248/1.705, allocations: 2.049 MB / 0.9125 GB, free: 2.559 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 8.899e-05/1.706, allocations: 8.031 kB / 0.9125 GB, free: 2.551 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009944/1.707, allocations: 202.1 kB / 0.9127 GB, free: 2.344 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004929/1.712, allocations: 389.6 kB / 0.9131 GB, free: 1.961 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005062/1.717, allocations: 1.159 MB / 0.9142 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/1.717, allocations: 102.5 kB / 0.9143 GB, free: 0.6406 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008687/1.718, allocations: 143.9 kB / 0.9144 GB, free: 0.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006507/1.724, allocations: 1.584 MB / 0.916 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.381e-05/1.725, allocations: 0 / 0.916 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003958/1.725, allocations: 52 kB / 0.916 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/1.725, allocations: 54.44 kB / 0.9161 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004571/1.73, allocations: 1.298 MB / 0.9174 GB, free: 13.43 MB / 0.6856 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.01898/1.749, allocations: 6.473 MB / 0.9237 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002936/1.752, allocations: 0.9355 MB / 0.9246 GB, free: 5.598 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/1.753, allocations: 491.7 kB / 0.9251 GB, free: 5.117 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/1.754, allocations: 413 kB / 0.9255 GB, free: 4.641 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.066e-05/1.754, allocations: 51.22 kB / 0.9255 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 8.375e-06/1.755, allocations: 0 / 0.9255 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.01171/1.766, allocations: 2.94 MB / 0.9284 GB, free: 1.523 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.829e-05/1.766, allocations: 64.34 kB / 0.9284 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004458/1.771, allocations: 1.205 MB / 0.9296 GB, free: 232 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003103/1.771, allocations: 41.7 kB / 0.9297 GB, free: 184 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.772, allocations: 0.676 MB / 0.9303 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000749/1.773, allocations: 303.7 kB / 0.9306 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009266/1.774, allocations: 194.5 kB / 0.9308 GB, free: 15 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002573/1.775, allocations: 353.9 kB / 0.9311 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.776, allocations: 373.8 kB / 0.9315 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/1.777, allocations: 0.7325 MB / 0.9322 GB, free: 13.4 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.01985/1.797, allocations: 2.91 MB / 0.935 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-05/1.797, allocations: 4 kB / 0.935 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004927/1.802, allocations: 1.296 MB / 0.9363 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/1.802, allocations: 8 kB / 0.9363 GB, free: 9.035 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.499e-05/1.802, allocations: 13.56 kB / 0.9363 GB, free: 9.023 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005371/1.803, allocations: 130.5 kB / 0.9365 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/1.804, allocations: 208 kB / 0.9367 GB, free: 8.684 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008519/1.813, allocations: 5.377 MB / 0.9419 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002657/1.816, allocations: 51.94 kB / 0.942 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/1.816, allocations: 44 kB / 0.942 GB, free: 2.793 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.001838/1.818, allocations: 429.4 kB / 0.9424 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007882/1.819, allocations: 138.3 kB / 0.9425 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003571/1.822, allocations: 1.096 MB / 0.9436 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.822, allocations: 8 kB / 0.9436 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.822, allocations: 3.984 kB / 0.9436 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00243/1.825, allocations: 1.051 MB / 0.9447 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/1.835, allocations: 3.082 MB / 0.9477 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.428e-05/1.835, allocations: 19.91 kB / 0.9477 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/1.837, allocations: 155.8 kB / 0.9478 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004906/1.837, allocations: 126.5 kB / 0.9479 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.837, allocations: 35.92 kB / 0.948 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007971/1.845, allocations: 5.354 MB / 0.9532 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/1.845, allocations: 4 kB / 0.9532 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00462/1.85, allocations: 1.765 MB / 0.9549 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001274/1.851, allocations: 323.2 kB / 0.9552 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005705/1.852, allocations: 20.12 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001998/1.854, allocations: 34.05 kB / 0.9553 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003562/1.854, allocations: 80.3 kB / 0.9554 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001856/1.855, allocations: 35.98 kB / 0.9554 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002856/1.857, allocations: 0.85 MB / 0.9562 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.663e-06/1.858, allocations: 0 / 0.9562 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003676/1.861, allocations: 404 kB / 0.9566 GB, free: 2.977 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.007107/1.868, allocations: 2.459 MB / 0.959 GB, free: 432 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003938/1.872, allocations: 1.289 MB / 0.9603 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-05/1.872, allocations: 4 kB / 0.9603 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/1.874, allocations: 0.7844 MB / 0.9611 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00852/1.883, allocations: 0.8926 MB / 0.9619 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04414/1.927, allocations: 11.23 MB / 0.9729 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002678/1.93, allocations: 1.355 MB / 0.9742 GB, free: 304 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002837/1.933, allocations: 356.6 kB / 0.9746 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/1.935, allocations: 0.5461 MB / 0.9751 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of SimCode: time 3.857e-06/1.935, allocations: 11.88 kB / 0.9751 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1661/2.101, allocations: 44.45 MB / 1.019 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.98/26.08, allocations: 0 / 1.019 GB, free: 3.402 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)