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.001514/0.001514, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001602/0.001602, allocations: 193.1 kB / 16.13 MB, free: 6.668 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7842/0.7842, allocations: 132.2 MB / 422.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 61.16 kB / 0.5012 GB, free: 4.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.418, allocations: 80.2 MB / 0.5795 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2156/0.6336, allocations: 212.4 MB / 0.7869 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02256/0.6561, allocations: 21.46 MB / 0.8079 GB, free: 7.121 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.6577, allocations: 47.69 kB / 0.8079 GB, free: 7.074 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001757/0.6595, allocations: 0.6217 MB / 0.8085 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009532/0.6691, allocations: 3.995 MB / 0.8124 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002564/0.6716, allocations: 0.9528 MB / 0.8134 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3409/1.013, allocations: 5.358 MB / 0.8186 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002533/1.015, allocations: 1.336 MB / 0.8199 GB, free: 5.027 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003493/1.019, allocations: 1.443 MB / 0.8213 GB, free: 5.023 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003536/1.022, allocations: 1.608 MB / 0.8229 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003324/1.023, allocations: 88.66 kB / 0.823 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003833/1.026, allocations: 2.096 MB / 0.825 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007457/1.027, allocations: 0.6732 MB / 0.8257 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001307/1.028, allocations: 0.8802 MB / 0.8265 GB, free: 5.016 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003651/1.032, allocations: 2.958 MB / 0.8294 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/1.032, allocations: 5.031 kB / 0.8294 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of FrontEnd: time 9.62e-07/1.032, allocations: 1.094 kB / 0.8294 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.207e-05/1.032, allocations: 0 / 0.8294 GB, free: 4.938 MB / 0.6387 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.003296/1.035, allocations: 2.037 MB / 0.8314 GB, free: 20.01 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/1.035, allocations: 8.344 kB / 0.8314 GB, free: 20.01 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/1.036, allocations: 198.5 kB / 0.8316 GB, free: 19.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/1.038, allocations: 396.6 kB / 0.832 GB, free: 19.87 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/1.04, allocations: 1.098 MB / 0.8331 GB, free: 19.48 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.914e-05/1.04, allocations: 106.6 kB / 0.8332 GB, free: 19.47 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001964/1.04, allocations: 136.8 kB / 0.8333 GB, free: 19.47 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/1.042, allocations: 1.589 MB / 0.8348 GB, free: 19.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/1.042, allocations: 7.25 kB / 0.8348 GB, free: 19.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/1.043, allocations: 50.91 kB / 0.8349 GB, free: 19.25 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.195e-05/1.043, allocations: 55.61 kB / 0.8349 GB, free: 19.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/1.044, allocations: 1.295 MB / 0.8362 GB, free: 19.23 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.006847/1.051, allocations: 6.473 MB / 0.8425 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.052, allocations: 0.9429 MB / 0.8435 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005415/1.053, allocations: 484.1 kB / 0.8439 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006861/1.054, allocations: 412.9 kB / 0.8443 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/1.054, allocations: 42.84 kB / 0.8444 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.315e-06/1.054, allocations: 0 / 0.8444 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004878/1.059, allocations: 2.944 MB / 0.8472 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/1.059, allocations: 60.91 kB / 0.8473 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/1.06, allocations: 1.197 MB / 0.8485 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.858e-05/1.06, allocations: 47.02 kB / 0.8485 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/1.061, allocations: 0.6756 MB / 0.8492 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/1.061, allocations: 298.7 kB / 0.8494 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002727/1.061, allocations: 202 kB / 0.8496 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/1.061, allocations: 352.9 kB / 0.85 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/1.062, allocations: 373.5 kB / 0.8503 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007214/1.062, allocations: 0.7299 MB / 0.851 GB, free: 13.16 MB / 0.6544 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.0119/1.074, allocations: 2.915 MB / 0.8539 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/1.074, allocations: 3.406 kB / 0.8539 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001961/1.076, allocations: 1.296 MB / 0.8552 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.076, allocations: 9.188 kB / 0.8552 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/1.076, allocations: 8.828 kB / 0.8552 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/1.077, allocations: 139.5 kB / 0.8553 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/1.077, allocations: 205.6 kB / 0.8555 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003551/1.081, allocations: 4.823 MB / 0.8602 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.082, allocations: 107.3 kB / 0.8603 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.083, allocations: 48.31 kB / 0.8604 GB, free: 8.5 MB / 0.6544 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.0007565/1.083, allocations: 425.8 kB / 0.8608 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/1.084, allocations: 146.7 kB / 0.8609 GB, free: 8.309 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/1.085, allocations: 1.089 MB / 0.862 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.085, allocations: 8.781 kB / 0.862 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/1.085, allocations: 0 / 0.862 GB, free: 8.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/1.086, allocations: 1.052 MB / 0.863 GB, free: 7.949 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004565/1.091, allocations: 3.085 MB / 0.866 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.091, allocations: 9.406 kB / 0.866 GB, free: 7.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006895/1.092, allocations: 161.8 kB / 0.8662 GB, free: 7.086 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002196/1.092, allocations: 135.1 kB / 0.8663 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/1.092, allocations: 26.73 kB / 0.8663 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/1.095, allocations: 4.816 MB / 0.871 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/1.096, allocations: 15.72 kB / 0.8711 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/1.098, allocations: 1.765 MB / 0.8728 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007624/1.099, allocations: 318 kB / 0.8731 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001985/1.099, allocations: 23.59 kB / 0.8731 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009101/1.1, allocations: 76.41 kB / 0.8732 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/1.1, allocations: 73.31 kB / 0.8732 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.429e-05/1.1, allocations: 36.56 kB / 0.8733 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001301/1.101, allocations: 0.8504 MB / 0.8741 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.7e-07/1.101, allocations: 0 / 0.8741 GB, free: 2.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001671/1.103, allocations: 414.4 kB / 0.8745 GB, free: 2.266 MB / 0.6544 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.002785/1.106, allocations: 2.446 MB / 0.8769 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001688/1.107, allocations: 1.277 MB / 0.8781 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.107, allocations: 3.75 kB / 0.8781 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/1.108, allocations: 0.7843 MB / 0.8789 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/1.112, allocations: 0.8418 MB / 0.8797 GB, free: 488 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/1.127, allocations: 12.62 MB / 0.8921 GB, free: 11.14 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008012/1.128, allocations: 1.357 MB / 0.8934 GB, free: 10.41 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001522/1.129, allocations: 355.5 kB / 0.8937 GB, free: 10.33 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/1.13, allocations: 0.5478 MB / 0.8943 GB, free: 10.32 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/1.13, allocations: 3 kB / 0.8943 GB, free: 10.32 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06122/1.191, allocations: 41.88 MB / 0.9352 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/1.192, allocations: 247 kB / 0.9354 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/3.874, allocations: 4 kB / 0.9354 GB, free: 3.652 MB / 0.7012 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)