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.001095/0.001095, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 192.1 kB / 16.53 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.927/0.927, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 63.66 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1604, allocations: 80.93 MB / 0.5845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5173/0.6777, allocations: 214.6 MB / 0.794 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02567/0.7034, allocations: 21.33 MB / 0.8149 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.7054, allocations: 55.69 kB / 0.8149 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002267/0.7076, allocations: 0.7338 MB / 0.8156 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009785/0.7175, allocations: 4.244 MB / 0.8198 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.7203, allocations: 1.048 MB / 0.8208 GB, free: 10.62 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004955/0.7252, allocations: 3.92 MB / 0.8246 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002408/0.7277, allocations: 1.572 MB / 0.8262 GB, free: 5.098 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003258/0.7309, allocations: 1.623 MB / 0.8278 GB, free: 3.469 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003163/0.7341, allocations: 1.552 MB / 0.8293 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005227/0.7347, allocations: 164 kB / 0.8294 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003812/0.7385, allocations: 1.82 MB / 0.8312 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009692/0.7395, allocations: 0.7442 MB / 0.8319 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001769/0.7412, allocations: 0.9566 MB / 0.8329 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.7457, allocations: 2.902 MB / 0.8357 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.7457, allocations: 0 / 0.8357 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7457, allocations: 0 / 0.8357 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.123e-05/0.7458, allocations: 0 / 0.8357 GB, free: 11.32 MB / 0.6544 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.004079/0.7499, allocations: 2.044 MB / 0.8377 GB, free: 9.223 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.7499, allocations: 8.031 kB / 0.8377 GB, free: 9.215 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000298/0.7502, allocations: 194.1 kB / 0.8379 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.7526, allocations: 401.5 kB / 0.8383 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/0.7546, allocations: 1.097 MB / 0.8393 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.245e-05/0.7547, allocations: 98.56 kB / 0.8394 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.755, allocations: 147.8 kB / 0.8396 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.7578, allocations: 1.575 MB / 0.8411 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.7578, allocations: 7.938 kB / 0.8411 GB, free: 5.566 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.758, allocations: 55.98 kB / 0.8412 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/0.758, allocations: 54.44 kB / 0.8412 GB, free: 5.457 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00226/0.7603, allocations: 1.295 MB / 0.8425 GB, free: 4.156 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.00871/0.769, allocations: 6.504 MB / 0.8488 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.7705, allocations: 0.9429 MB / 0.8498 GB, free: 12.29 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/0.7712, allocations: 482.5 kB / 0.8502 GB, free: 11.82 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007449/0.772, allocations: 413 kB / 0.8506 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.772, allocations: 51.2 kB / 0.8507 GB, free: 11.28 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.886e-06/0.772, allocations: 0 / 0.8507 GB, free: 11.28 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.005534/0.7776, allocations: 2.936 MB / 0.8535 GB, free: 8.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.7777, allocations: 60.41 kB / 0.8536 GB, free: 8.156 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001674/0.7793, allocations: 1.197 MB / 0.8548 GB, free: 6.941 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/0.7794, allocations: 49.7 kB / 0.8548 GB, free: 6.887 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/0.78, allocations: 0.6837 MB / 0.8555 GB, free: 6.195 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.7803, allocations: 295.7 kB / 0.8558 GB, free: 5.902 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.7806, allocations: 198.5 kB / 0.8559 GB, free: 5.703 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.7807, allocations: 345.9 kB / 0.8563 GB, free: 5.359 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005957/0.7813, allocations: 369.8 kB / 0.8566 GB, free: 5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008746/0.7822, allocations: 0.7442 MB / 0.8574 GB, free: 4.102 MB / 0.67 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.01226/0.7945, allocations: 2.91 MB / 0.8602 GB, free: 1.074 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.7945, allocations: 4 kB / 0.8602 GB, free: 1.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.2404/1.035, allocations: 1.288 MB / 0.8615 GB, free: 221.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/1.035, allocations: 9.594 kB / 0.8615 GB, free: 221.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.035, allocations: 10.44 kB / 0.8615 GB, free: 221.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003333/1.035, allocations: 135.9 kB / 0.8616 GB, free: 221.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008999/1.036, allocations: 207 kB / 0.8618 GB, free: 221.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003312/1.04, allocations: 5.38 MB / 0.8671 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/1.041, allocations: 51.31 kB / 0.8671 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/1.041, allocations: 46.56 kB / 0.8672 GB, free: 217.2 MB / 0.67 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.000664/1.042, allocations: 431.2 kB / 0.8676 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003113/1.042, allocations: 144.2 kB / 0.8677 GB, free: 217.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/1.044, allocations: 1.096 MB / 0.8688 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.044, allocations: 7.531 kB / 0.8688 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/1.044, allocations: 0 / 0.8688 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/1.045, allocations: 1.057 MB / 0.8698 GB, free: 216.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/1.05, allocations: 3.089 MB / 0.8728 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.05, allocations: 5.125 kB / 0.8728 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000696/1.05, allocations: 155.1 kB / 0.873 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002413/1.051, allocations: 133.5 kB / 0.8731 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-05/1.051, allocations: 29.78 kB / 0.8731 GB, free: 214.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/1.054, allocations: 5.353 MB / 0.8784 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/1.054, allocations: 8.969 kB / 0.8784 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/1.056, allocations: 1.767 MB / 0.8801 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006108/1.057, allocations: 317.7 kB / 0.8804 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/1.057, allocations: 31.88 kB / 0.8804 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009353/1.058, allocations: 30.5 kB / 0.8805 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/1.058, allocations: 80.08 kB / 0.8805 GB, free: 208.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-05/1.058, allocations: 35 kB / 0.8806 GB, free: 208.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001266/1.059, allocations: 0.8454 MB / 0.8814 GB, free: 208.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/1.06, allocations: 2.375 kB / 0.8814 GB, free: 208.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001573/1.061, allocations: 400.8 kB / 0.8818 GB, free: 208.5 MB / 0.67 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.002619/1.064, allocations: 2.453 MB / 0.8842 GB, free: 207 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002055/1.066, allocations: 1.45 MB / 0.8856 GB, free: 206.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.066, allocations: 0 / 0.8856 GB, free: 206.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008203/1.067, allocations: 0.7927 MB / 0.8864 GB, free: 205.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004044/1.071, allocations: 0.8969 MB / 0.8872 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02003/1.091, allocations: 12.15 MB / 0.8991 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008771/1.092, allocations: 1.362 MB / 0.9004 GB, free: 198 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001452/1.093, allocations: 350.3 kB / 0.9008 GB, free: 198 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/1.094, allocations: 0.549 MB / 0.9013 GB, free: 197.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.222e-06/1.094, allocations: 0 / 0.9013 GB, free: 197.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09154/1.185, allocations: 43.34 MB / 0.9436 GB, free: 181.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/13.27, allocations: 7.938 kB / 0.9436 GB, free: 181.4 MB / 0.67 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)