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.001713/0.001713, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002257/0.002257, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.614/2.614, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.099/1.099, allocations: 132.2 MB / 423.2 MB, free: 2.133 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004089/0.0004094, allocations: 12 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8207/0.8211, allocations: 81.57 MB / 0.583 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2852/1.106, allocations: 177 MB / 0.7558 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.03229/1.139, allocations: 18.58 MB / 0.774 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002906/1.142, allocations: 39.69 kB / 0.774 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.003683/1.145, allocations: 0.7738 MB / 0.7747 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01345/1.159, allocations: 2.91 MB / 0.7776 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005333/1.164, allocations: 1.21 MB / 0.7788 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005592/1.17, allocations: 2.272 MB / 0.781 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002471/1.172, allocations: 1.187 MB / 0.7822 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005083/1.178, allocations: 1.682 MB / 0.7838 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002997/1.181, allocations: 1.121 MB / 0.7849 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003663/1.181, allocations: 75.94 kB / 0.785 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/1.184, allocations: 0.8385 MB / 0.7858 GB, free: 404 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008922/1.185, allocations: 0.5884 MB / 0.7864 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008707/1.186, allocations: 368.8 kB / 0.7867 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003194/1.189, allocations: 1.952 MB / 0.7886 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/1.189, allocations: 0 / 0.7886 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.767e-06/1.189, allocations: 3.938 kB / 0.7886 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.803e-05/1.189, allocations: 0 / 0.7886 GB, free: 13.48 MB / 0.6231 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.003767/1.193, allocations: 1.699 MB / 0.7903 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/1.193, allocations: 8.031 kB / 0.7903 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003312/1.194, allocations: 198.1 kB / 0.7905 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002526/1.196, allocations: 405.5 kB / 0.7909 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002484/1.199, allocations: 1.055 MB / 0.7919 GB, free: 9.996 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.124e-05/1.199, allocations: 102.5 kB / 0.792 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/1.199, allocations: 132 kB / 0.7921 GB, free: 9.766 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002744/1.202, allocations: 1.567 MB / 0.7936 GB, free: 8.125 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/1.202, allocations: 4 kB / 0.7936 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000147/1.202, allocations: 52 kB / 0.7937 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.045e-05/1.202, allocations: 50.44 kB / 0.7937 GB, free: 8.02 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/1.204, allocations: 1.29 MB / 0.795 GB, free: 6.723 MB / 0.6231 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.00947/1.214, allocations: 6.461 MB / 0.8013 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.215, allocations: 0.9474 MB / 0.8022 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004623/1.216, allocations: 157.7 kB / 0.8024 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.216, allocations: 51.17 kB / 0.8024 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 3.346e-06/1.216, allocations: 0 / 0.8024 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.006488/1.222, allocations: 2.927 MB / 0.8053 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/1.222, allocations: 60.41 kB / 0.8054 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001747/1.224, allocations: 1.185 MB / 0.8065 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/1.224, allocations: 45.7 kB / 0.8066 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006174/1.225, allocations: 0.6799 MB / 0.8072 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/1.225, allocations: 303.7 kB / 0.8075 GB, free: 9.312 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/1.225, allocations: 23.94 kB / 0.8075 GB, free: 9.289 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.226, allocations: 341.9 kB / 0.8079 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/1.226, allocations: 365.8 kB / 0.8082 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009254/1.227, allocations: 0.7247 MB / 0.8089 GB, free: 7.719 MB / 0.6387 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.01181/1.239, allocations: 2.367 MB / 0.8112 GB, free: 5.34 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.239, allocations: 4 kB / 0.8112 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002666/1.242, allocations: 1.289 MB / 0.8125 GB, free: 4.031 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.971e-05/1.242, allocations: 8.75 kB / 0.8125 GB, free: 4.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.242, allocations: 11.98 kB / 0.8125 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/1.242, allocations: 146.4 kB / 0.8126 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008387/1.243, allocations: 199.7 kB / 0.8128 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5386/1.781, allocations: 4.853 MB / 0.8176 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002061/1.784, allocations: 104.8 kB / 0.8177 GB, free: 216.1 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002033/1.784, allocations: 46.91 kB / 0.8177 GB, free: 216.1 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.001173/1.785, allocations: 423.4 kB / 0.8181 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/1.785, allocations: 144.8 kB / 0.8183 GB, free: 216 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00254/1.788, allocations: 1.091 MB / 0.8193 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/1.788, allocations: 12.23 kB / 0.8193 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.788, allocations: 0 / 0.8193 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001829/1.79, allocations: 1.051 MB / 0.8204 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00778/1.798, allocations: 3.113 MB / 0.8234 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.798, allocations: 5.906 kB / 0.8234 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009031/1.799, allocations: 161.2 kB / 0.8236 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/1.799, allocations: 130.7 kB / 0.8237 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/1.799, allocations: 28.08 kB / 0.8237 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004239/1.803, allocations: 4.855 MB / 0.8285 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/1.803, allocations: 11.44 kB / 0.8285 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003357/1.807, allocations: 2.119 MB / 0.8305 GB, free: 207.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009764/1.808, allocations: 319.3 kB / 0.8308 GB, free: 207.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/1.808, allocations: 22.41 kB / 0.8309 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009826/1.809, allocations: 78.98 kB / 0.8309 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/1.809, allocations: 78.39 kB / 0.831 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/1.809, allocations: 33.95 kB / 0.831 GB, free: 207.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001533/1.811, allocations: 0.8358 MB / 0.8319 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.4e-07/1.811, allocations: 1.406 kB / 0.8319 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002177/1.813, allocations: 409.4 kB / 0.8323 GB, free: 207.2 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004177/1.817, allocations: 4.367 MB / 0.8365 GB, free: 203.8 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002504/1.82, allocations: 1.269 MB / 0.8378 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/1.82, allocations: 5.219 kB / 0.8378 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.821, allocations: 0.7793 MB / 0.8385 GB, free: 202.6 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004633/1.825, allocations: 0.8432 MB / 0.8393 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02301/1.848, allocations: 14.43 MB / 0.8534 GB, free: 191.8 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/1.85, allocations: 1.382 MB / 0.8548 GB, free: 190.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002576/1.853, allocations: 352.2 kB / 0.8551 GB, free: 190.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/1.854, allocations: 0.5527 MB / 0.8557 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of SimCode: time 2.024e-06/1.854, allocations: 0 / 0.8557 GB, free: 190.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09374/1.948, allocations: 42.72 MB / 0.8974 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/1.948, allocations: 221.2 kB / 0.8976 GB, free: 151 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.104/7.051, allocations: 4 kB / 0.8976 GB, free: 151 MB / 0.6387 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/linux/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) Environment - environmentSimulation: