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.0008069/0.0008068, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004429/0.004429, allocations: 168.5 kB / 16.26 MB, free: 6.652 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.45/1.45, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7454/0.7454, allocations: 132.3 MB / 423.8 MB, free: 1.996 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002926, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3866, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2174/0.6041, allocations: 209.5 MB / 0.7884 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02276/0.6269, allocations: 21.21 MB / 0.8091 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001538/0.6285, allocations: 47.69 kB / 0.8091 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.6302, allocations: 0.6177 MB / 0.8097 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008723/0.6389, allocations: 3.977 MB / 0.8136 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002252/0.6412, allocations: 0.9627 MB / 0.8146 GB, free: 3.281 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.3313/0.9725, allocations: 5.365 MB / 0.8198 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.9748, allocations: 1.286 MB / 0.8211 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003269/0.9781, allocations: 1.392 MB / 0.8224 GB, free: 5.355 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004577/0.9827, allocations: 1.542 MB / 0.8239 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004867/0.9832, allocations: 76.89 kB / 0.824 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005032/0.9882, allocations: 2.076 MB / 0.826 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.9892, allocations: 0.645 MB / 0.8267 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001545/0.9908, allocations: 0.8651 MB / 0.8275 GB, free: 5.316 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004081/0.9949, allocations: 2.914 MB / 0.8303 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9949, allocations: 1.062 kB / 0.8303 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9949, allocations: 0 / 0.8303 GB, free: 5.242 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.581e-05/0.9949, allocations: 0 / 0.8303 GB, free: 5.242 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.002859/0.9978, allocations: 1.707 MB / 0.832 GB, free: 20.36 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.9979, allocations: 10.22 kB / 0.832 GB, free: 20.36 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002265/0.9981, allocations: 199 kB / 0.8322 GB, free: 20.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002166/1, allocations: 400 kB / 0.8326 GB, free: 20.21 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/1.002, allocations: 1.1 MB / 0.8337 GB, free: 19.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.814e-05/1.002, allocations: 106.7 kB / 0.8338 GB, free: 19.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/1.002, allocations: 134.7 kB / 0.8339 GB, free: 19.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002499/1.005, allocations: 1.586 MB / 0.8354 GB, free: 19.6 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.376e-05/1.005, allocations: 4.531 kB / 0.8355 GB, free: 19.6 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/1.005, allocations: 56.72 kB / 0.8355 GB, free: 19.6 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.015e-05/1.005, allocations: 54.33 kB / 0.8356 GB, free: 19.59 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/1.007, allocations: 1.291 MB / 0.8368 GB, free: 19.58 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.006989/1.014, allocations: 6.48 MB / 0.8431 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/1.015, allocations: 0.94 MB / 0.8441 GB, free: 16.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005833/1.016, allocations: 484.1 kB / 0.8445 GB, free: 16.23 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007017/1.016, allocations: 426.4 kB / 0.8449 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/1.016, allocations: 50.5 kB / 0.845 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.475e-06/1.016, allocations: 0 / 0.845 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004799/1.021, allocations: 2.937 MB / 0.8478 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/1.021, allocations: 61.78 kB / 0.8479 GB, free: 14.9 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/1.023, allocations: 1.206 MB / 0.8491 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.287e-05/1.023, allocations: 46.7 kB / 0.8491 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003748/1.023, allocations: 0.6772 MB / 0.8498 GB, free: 14.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/1.023, allocations: 299.7 kB / 0.8501 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.023, allocations: 84.67 kB / 0.8502 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.023, allocations: 348.6 kB / 0.8505 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004925/1.024, allocations: 371.3 kB / 0.8508 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/1.025, allocations: 0.7367 MB / 0.8516 GB, free: 13.52 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.01174/1.036, allocations: 3.202 MB / 0.8547 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/1.036, allocations: 3.125 kB / 0.8547 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001887/1.038, allocations: 1.291 MB / 0.856 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.038, allocations: 9.438 kB / 0.856 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.038, allocations: 9.406 kB / 0.856 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002557/1.039, allocations: 140.1 kB / 0.8561 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/1.039, allocations: 206 kB / 0.8563 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003657/1.043, allocations: 4.821 MB / 0.861 GB, free: 8.844 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/1.045, allocations: 104.8 kB / 0.8611 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.702e-05/1.045, allocations: 49.06 kB / 0.8612 GB, free: 8.824 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 sytem: 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.0007403/1.046, allocations: 427.1 kB / 0.8616 GB, free: 8.703 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.046, allocations: 146.8 kB / 0.8617 GB, free: 8.629 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001551/1.047, allocations: 1.097 MB / 0.8628 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/1.047, allocations: 6.156 kB / 0.8628 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/1.047, allocations: 7.469 kB / 0.8628 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001197/1.049, allocations: 1.051 MB / 0.8638 GB, free: 8.258 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004673/1.053, allocations: 3.114 MB / 0.8669 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/1.053, allocations: 9.656 kB / 0.8669 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/1.054, allocations: 162.4 kB / 0.867 GB, free: 7.395 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/1.054, allocations: 132.4 kB / 0.8671 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/1.054, allocations: 35.61 kB / 0.8672 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003425/1.058, allocations: 4.815 MB / 0.8719 GB, free: 3.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.058, allocations: 13.56 kB / 0.8719 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/1.06, allocations: 1.762 MB / 0.8736 GB, free: 2.883 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/1.061, allocations: 314.3 kB / 0.8739 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/1.061, allocations: 22.12 kB / 0.8739 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009058/1.062, allocations: 85.48 kB / 0.874 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.062, allocations: 71.59 kB / 0.8741 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/1.062, allocations: 35.12 kB / 0.8741 GB, free: 2.695 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009888/1.063, allocations: 0.8486 MB / 0.8749 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.2e-07/1.063, allocations: 3.469 kB / 0.875 GB, free: 2.582 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001467/1.064, allocations: 408.9 kB / 0.8753 GB, free: 2.578 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.00276/1.067, allocations: 2.454 MB / 0.8777 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001798/1.069, allocations: 1.273 MB / 0.879 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/1.069, allocations: 2.312 kB / 0.879 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007809/1.07, allocations: 0.7887 MB / 0.8798 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004818/1.075, allocations: 0.8525 MB / 0.8806 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/1.09, allocations: 12.68 MB / 0.893 GB, free: 11.42 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008605/1.091, allocations: 1.356 MB / 0.8943 GB, free: 10.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001483/1.093, allocations: 361.8 kB / 0.8946 GB, free: 10.61 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006479/1.094, allocations: 0.5444 MB / 0.8952 GB, free: 10.61 MB / 0.67 GB Notification: Performance of SimCode: time 6.32e-07/1.094, allocations: 3.938 kB / 0.8952 GB, free: 10.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7035/1.797, allocations: 41.54 MB / 0.9357 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002838/1.797, allocations: 241.9 kB / 0.936 GB, free: 7.254 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/4.851, allocations: 0 / 0.936 GB, free: 7.254 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)