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.005232/0.005232, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001143/0.001143, allocations: 198.4 kB / 16.67 MB, free: 5.934 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7439/0.7439, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 71.88 kB / 0.5809 GB, free: 8.066 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4341, allocations: 80.19 MB / 0.6592 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6641/1.098, allocations: 214.6 MB / 0.8688 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0246/1.123, allocations: 21.33 MB / 0.8896 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002185/1.125, allocations: 56.09 kB / 0.8896 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002085/1.127, allocations: 0.7534 MB / 0.8904 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/1.138, allocations: 4.396 MB / 0.8947 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/1.141, allocations: 1.079 MB / 0.8957 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005727/1.147, allocations: 3.918 MB / 0.8996 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002604/1.149, allocations: 1.575 MB / 0.9011 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004259/1.154, allocations: 1.683 MB / 0.9027 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005443/1.159, allocations: 1.566 MB / 0.9043 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005931/1.16, allocations: 161.2 kB / 0.9044 GB, free: 1.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005937/1.166, allocations: 1.835 MB / 0.9062 GB, free: 1.461 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001282/1.167, allocations: 0.7461 MB / 0.9069 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002319/1.169, allocations: 0.9583 MB / 0.9079 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006284/1.176, allocations: 2.941 MB / 0.9108 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.176, allocations: 0 / 0.9108 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.603e-06/1.176, allocations: 1.094 kB / 0.9108 GB, free: 1.117 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.997e-05/1.176, allocations: 0 / 0.9108 GB, free: 1.117 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.003272/1.179, allocations: 2.102 MB / 0.9128 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.179, allocations: 11.53 kB / 0.9128 GB, free: 16.07 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000204/1.179, allocations: 195.9 kB / 0.913 GB, free: 16.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002133/1.181, allocations: 405.2 kB / 0.9134 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/1.183, allocations: 1.17 MB / 0.9145 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.443e-05/1.183, allocations: 99.25 kB / 0.9146 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/1.184, allocations: 131.7 kB / 0.9148 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002183/1.186, allocations: 1.585 MB / 0.9163 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/1.186, allocations: 4.188 kB / 0.9163 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/1.186, allocations: 59.61 kB / 0.9164 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/1.186, allocations: 55.17 kB / 0.9164 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/1.188, allocations: 1.291 MB / 0.9177 GB, free: 15.29 MB / 0.7012 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.008113/1.196, allocations: 6.489 MB / 0.924 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001274/1.197, allocations: 0.9451 MB / 0.9249 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005525/1.198, allocations: 486.3 kB / 0.9254 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007037/1.199, allocations: 410.5 kB / 0.9258 GB, free: 11.56 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.199, allocations: 45.31 kB / 0.9258 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.715e-06/1.199, allocations: 0 / 0.9258 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.005016/1.204, allocations: 2.957 MB / 0.9287 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/1.204, allocations: 60.16 kB / 0.9288 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/1.205, allocations: 1.209 MB / 0.93 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/1.205, allocations: 48.17 kB / 0.93 GB, free: 10.38 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004182/1.206, allocations: 0.6895 MB / 0.9307 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/1.206, allocations: 308.4 kB / 0.931 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002749/1.206, allocations: 196.2 kB / 0.9312 GB, free: 9.887 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.206, allocations: 349.9 kB / 0.9315 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/1.207, allocations: 379.4 kB / 0.9319 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007609/1.208, allocations: 0.7251 MB / 0.9326 GB, free: 9.191 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.0104/1.218, allocations: 2.921 MB / 0.9354 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/1.218, allocations: 2.375 kB / 0.9354 GB, free: 8.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001953/1.22, allocations: 1.304 MB / 0.9367 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/1.22, allocations: 16.28 kB / 0.9367 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.22, allocations: 7.375 kB / 0.9367 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000263/1.22, allocations: 143.3 kB / 0.9369 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/1.221, allocations: 203.4 kB / 0.937 GB, free: 8.574 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003944/1.225, allocations: 5.374 MB / 0.9423 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.226, allocations: 60.64 kB / 0.9424 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.927e-05/1.226, allocations: 46.25 kB / 0.9424 GB, free: 4.078 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.0006577/1.227, allocations: 434.8 kB / 0.9428 GB, free: 3.949 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/1.227, allocations: 148.6 kB / 0.943 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/1.229, allocations: 1.089 MB / 0.944 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.229, allocations: 7.875 kB / 0.944 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/1.229, allocations: 0 / 0.944 GB, free: 3.773 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/1.23, allocations: 1.056 MB / 0.9451 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/1.235, allocations: 3.083 MB / 0.9481 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.235, allocations: 5.5 kB / 0.9481 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/1.236, allocations: 158 kB / 0.9482 GB, free: 2.613 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/1.236, allocations: 131.9 kB / 0.9483 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/1.236, allocations: 31.11 kB / 0.9484 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/1.24, allocations: 5.362 MB / 0.9536 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.24, allocations: 11.09 kB / 0.9536 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/1.242, allocations: 1.775 MB / 0.9554 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/1.243, allocations: 323.8 kB / 0.9557 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.243, allocations: 18.38 kB / 0.9557 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/1.244, allocations: 28.08 kB / 0.9557 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/1.244, allocations: 78.11 kB / 0.9558 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/1.244, allocations: 33.98 kB / 0.9558 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001168/1.245, allocations: 0.847 MB / 0.9566 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.705e-06/1.245, allocations: 0 / 0.9566 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00144/1.247, allocations: 412.4 kB / 0.957 GB, free: 12.76 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.00284/1.25, allocations: 2.467 MB / 0.9594 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001788/1.252, allocations: 1.296 MB / 0.9607 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.252, allocations: 0 / 0.9607 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000812/1.252, allocations: 0.7944 MB / 0.9615 GB, free: 9.742 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003809/1.256, allocations: 0.8911 MB / 0.9624 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.272, allocations: 11.27 MB / 0.9734 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009065/1.273, allocations: 1.355 MB / 0.9747 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001262/1.274, allocations: 352.6 kB / 0.975 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007349/1.275, allocations: 0.5461 MB / 0.9756 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of SimCode: time 1.443e-06/1.275, allocations: 4 kB / 0.9756 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09873/1.373, allocations: 43.69 MB / 1.018 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/15.21, allocations: 3.938 kB / 1.018 GB, free: 0.7812 MB / 0.7637 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1)