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.005002/0.005002, allocations: 100.5 kB / 15.73 MB, free: 6.047 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.001234/0.001234, allocations: 197.3 kB / 16.67 MB, free: 5.949 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8515/0.8515, allocations: 135.6 MB / 426.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 68.95 kB / 0.5858 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1577, allocations: 81.01 MB / 0.6649 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5759/0.7337, allocations: 214.6 MB / 0.8745 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02911/0.7628, allocations: 21.32 MB / 0.8953 GB, free: 2.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002057/0.7649, allocations: 51.69 kB / 0.8953 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002461/0.7674, allocations: 0.7375 MB / 0.896 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.7792, allocations: 4.247 MB / 0.9002 GB, free: 13.42 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003068/0.7823, allocations: 1.058 MB / 0.9012 GB, free: 12.37 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005659/0.7879, allocations: 3.919 MB / 0.9051 GB, free: 8.438 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.7904, allocations: 1.574 MB / 0.9066 GB, free: 6.836 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003386/0.7938, allocations: 1.631 MB / 0.9082 GB, free: 5.199 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.7973, allocations: 1.542 MB / 0.9097 GB, free: 3.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000423/0.7978, allocations: 164 kB / 0.9098 GB, free: 3.5 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/0.8018, allocations: 1.832 MB / 0.9116 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009059/0.8027, allocations: 0.7404 MB / 0.9124 GB, free: 0.9219 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.8042, allocations: 0.9528 MB / 0.9133 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.8094, allocations: 2.943 MB / 0.9162 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.8094, allocations: 0 / 0.9162 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8094, allocations: 0 / 0.9162 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.523e-05/0.8095, allocations: 0 / 0.9162 GB, free: 13.01 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.003617/0.8131, allocations: 2.109 MB / 0.9182 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.8131, allocations: 9.109 kB / 0.9182 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002407/0.8134, allocations: 198.1 kB / 0.9184 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/0.8156, allocations: 407.5 kB / 0.9188 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/0.8178, allocations: 1.156 MB / 0.9199 GB, free: 9.02 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.8179, allocations: 110.5 kB / 0.92 GB, free: 8.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.8181, allocations: 139.9 kB / 0.9202 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.8209, allocations: 1.586 MB / 0.9217 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/0.821, allocations: 0 / 0.9217 GB, free: 7.113 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.8211, allocations: 59.92 kB / 0.9218 GB, free: 7.055 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.231e-05/0.8212, allocations: 54.44 kB / 0.9218 GB, free: 7 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002141/0.8233, allocations: 1.298 MB / 0.9231 GB, free: 5.695 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.008953/0.8323, allocations: 6.479 MB / 0.9294 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001483/0.8338, allocations: 0.9481 MB / 0.9304 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006959/0.8345, allocations: 490.4 kB / 0.9308 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000762/0.8353, allocations: 417 kB / 0.9312 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.8353, allocations: 43.22 kB / 0.9313 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.454e-06/0.8354, allocations: 0 / 0.9313 GB, free: 12.83 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.00579/0.8412, allocations: 2.959 MB / 0.9342 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.8412, allocations: 60.41 kB / 0.9342 GB, free: 9.68 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.843, allocations: 1.205 MB / 0.9354 GB, free: 8.457 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.8431, allocations: 41.7 kB / 0.9354 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006123/0.8437, allocations: 0.6891 MB / 0.9361 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003457/0.8441, allocations: 317.3 kB / 0.9364 GB, free: 7.402 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003132/0.8444, allocations: 194.6 kB / 0.9366 GB, free: 7.207 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.8446, allocations: 353.9 kB / 0.9369 GB, free: 6.855 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.8452, allocations: 373.8 kB / 0.9373 GB, free: 6.488 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/0.8461, allocations: 0.7324 MB / 0.938 GB, free: 5.609 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.01179/0.8579, allocations: 2.914 MB / 0.9408 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.8579, allocations: 0 / 0.9408 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00232/0.8603, allocations: 1.305 MB / 0.9421 GB, free: 1.246 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.8603, allocations: 12.03 kB / 0.9421 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.8603, allocations: 8 kB / 0.9421 GB, free: 1.227 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003047/0.8606, allocations: 134.5 kB / 0.9423 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007813/0.8614, allocations: 207.6 kB / 0.9425 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004863/0.8663, allocations: 5.383 MB / 0.9477 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.8676, allocations: 50.33 kB / 0.9478 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.589e-05/0.8677, allocations: 44.06 kB / 0.9478 GB, free: 11 MB / 0.7169 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.0007587/0.8685, allocations: 430.7 kB / 0.9482 GB, free: 10.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002218/0.8687, allocations: 151.1 kB / 0.9484 GB, free: 10.42 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.8705, allocations: 1.088 MB / 0.9494 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.8705, allocations: 8 kB / 0.9494 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.8705, allocations: 7.938 kB / 0.9494 GB, free: 9.293 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/0.872, allocations: 1.054 MB / 0.9505 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005178/0.8771, allocations: 3.085 MB / 0.9535 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.8772, allocations: 8 kB / 0.9535 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.8779, allocations: 156.5 kB / 0.9536 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000277/0.8782, allocations: 126.5 kB / 0.9538 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.395e-05/0.8783, allocations: 31.98 kB / 0.9538 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004646/0.8829, allocations: 5.365 MB / 0.959 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/0.883, allocations: 4 kB / 0.959 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002662/0.8856, allocations: 1.774 MB / 0.9608 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/0.8863, allocations: 332 kB / 0.9611 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001668/0.8864, allocations: 20 kB / 0.9611 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00073/0.8872, allocations: 27.98 kB / 0.9611 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.8873, allocations: 76.42 kB / 0.9612 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.7e-05/0.8874, allocations: 43.98 kB / 0.9612 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001223/0.8886, allocations: 0.8461 MB / 0.9621 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8886, allocations: 3.938 kB / 0.9621 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001446/0.8901, allocations: 403.9 kB / 0.9625 GB, free: 11.15 MB / 0.7325 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.003205/0.8933, allocations: 2.461 MB / 0.9649 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.8954, allocations: 1.288 MB / 0.9661 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.8954, allocations: 4 kB / 0.9661 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009949/0.8964, allocations: 0.7979 MB / 0.9669 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/0.9003, allocations: 0.8893 MB / 0.9678 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01676/0.9171, allocations: 11.28 MB / 0.9788 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.9184, allocations: 1.347 MB / 0.9801 GB, free: 8.387 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001522/0.92, allocations: 360.6 kB / 0.9805 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/0.9208, allocations: 0.55 MB / 0.981 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.9208, allocations: 0 / 0.981 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09335/1.014, allocations: 43.69 MB / 1.024 GB, free: 12.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.2, allocations: 10.28 kB / 1.024 GB, free: 12.27 MB / 0.795 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)