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.001052/0.001052, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001378/0.001378, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9632/0.9632, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 13.41 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1641, allocations: 82.31 MB / 0.5875 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.5172/0.6813, allocations: 195.5 MB / 0.7784 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02188/0.7032, allocations: 19.83 MB / 0.7977 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.7049, allocations: 47.69 kB / 0.7978 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.7065, allocations: 0.5046 MB / 0.7983 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007698/0.7142, allocations: 2.963 MB / 0.8012 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0023/0.7165, allocations: 0.7775 MB / 0.8019 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005172/0.7217, allocations: 4.54 MB / 0.8064 GB, free: 12.56 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.7235, allocations: 1.167 MB / 0.8075 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.7262, allocations: 1.412 MB / 0.8089 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.7286, allocations: 1.471 MB / 0.8103 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001848/0.7287, allocations: 72 kB / 0.8104 GB, free: 8.406 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.7316, allocations: 0.9119 MB / 0.8113 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006795/0.7323, allocations: 0.6505 MB / 0.8119 GB, free: 6.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.7328, allocations: 360.8 kB / 0.8122 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.7351, allocations: 2.042 MB / 0.8142 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.7351, allocations: 0 / 0.8142 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.696e-06/0.7351, allocations: 4 kB / 0.8142 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.7351, allocations: 0 / 0.8142 GB, free: 4.43 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.002601/0.7377, allocations: 1.723 MB / 0.8159 GB, free: 2.656 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.7378, allocations: 12.03 kB / 0.8159 GB, free: 2.645 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000239/0.738, allocations: 202.1 kB / 0.8161 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.74, allocations: 401.5 kB / 0.8165 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.7418, allocations: 1.051 MB / 0.8175 GB, free: 0.9336 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.039e-05/0.7419, allocations: 98.56 kB / 0.8176 GB, free: 0.8359 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.7421, allocations: 140 kB / 0.8178 GB, free: 0.6992 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/0.7446, allocations: 1.579 MB / 0.8193 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.7447, allocations: 4 kB / 0.8193 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.7448, allocations: 52 kB / 0.8194 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-05/0.7449, allocations: 50.44 kB / 0.8194 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.7469, allocations: 1.282 MB / 0.8207 GB, free: 13.65 MB / 0.6387 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.007541/0.7545, allocations: 6.489 MB / 0.827 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.7559, allocations: 0.9295 MB / 0.8279 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007085/0.7566, allocations: 477.4 kB / 0.8284 GB, free: 5.348 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/0.7574, allocations: 432.9 kB / 0.8288 GB, free: 4.848 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.7574, allocations: 39.78 kB / 0.8288 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.956e-06/0.7575, allocations: 0 / 0.8288 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.005423/0.7629, allocations: 2.932 MB / 0.8317 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.7629, allocations: 64.34 kB / 0.8317 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.7645, allocations: 1.189 MB / 0.8329 GB, free: 488 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/0.7646, allocations: 49.7 kB / 0.8329 GB, free: 432 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005345/0.7651, allocations: 0.6762 MB / 0.8336 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/0.7654, allocations: 295.7 kB / 0.8339 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.7654, allocations: 20 kB / 0.8339 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.7656, allocations: 349.9 kB / 0.8342 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.7661, allocations: 373.7 kB / 0.8346 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008733/0.767, allocations: 0.7286 MB / 0.8353 GB, free: 13.83 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.009918/0.7769, allocations: 2.367 MB / 0.8376 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.777, allocations: 4 kB / 0.8376 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002063/0.779, allocations: 1.297 MB / 0.8389 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.7791, allocations: 8 kB / 0.8389 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.7791, allocations: 8 kB / 0.8389 GB, free: 10.12 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002876/0.7794, allocations: 127.1 kB / 0.839 GB, free: 9.988 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.7801, allocations: 212.2 kB / 0.8392 GB, free: 9.781 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003984/0.7841, allocations: 4.816 MB / 0.8439 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.7855, allocations: 111.7 kB / 0.844 GB, free: 4.461 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.7856, allocations: 44 kB / 0.8441 GB, free: 4.418 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 (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.0007611/0.7864, allocations: 425.3 kB / 0.8445 GB, free: 3.992 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002933/0.7867, allocations: 142.3 kB / 0.8446 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.7885, allocations: 1.094 MB / 0.8457 GB, free: 2.738 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.7886, allocations: 8.188 kB / 0.8457 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7886, allocations: 4 kB / 0.8457 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001387/0.79, allocations: 1.05 MB / 0.8467 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0055/0.7955, allocations: 3.117 MB / 0.8498 GB, free: 14.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.7955, allocations: 8.156 kB / 0.8498 GB, free: 14.29 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.7962, allocations: 160.7 kB / 0.8499 GB, free: 14.13 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002542/0.7965, allocations: 122.5 kB / 0.8501 GB, free: 14 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.144e-05/0.7966, allocations: 28 kB / 0.8501 GB, free: 13.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004159/0.8007, allocations: 4.818 MB / 0.8548 GB, free: 8.758 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.8007, allocations: 8.125 kB / 0.8548 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.8033, allocations: 1.761 MB / 0.8565 GB, free: 6.883 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007894/0.8041, allocations: 319.2 kB / 0.8568 GB, free: 6.551 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003365/0.8044, allocations: 16 kB / 0.8568 GB, free: 6.535 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.8054, allocations: 78.89 kB / 0.8569 GB, free: 6.461 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.8056, allocations: 88.25 kB / 0.857 GB, free: 6.375 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.054e-05/0.8056, allocations: 32 kB / 0.857 GB, free: 6.344 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001138/0.8068, allocations: 0.8304 MB / 0.8578 GB, free: 5.512 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8068, allocations: 0 / 0.8578 GB, free: 5.512 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001586/0.8084, allocations: 416 kB / 0.8582 GB, free: 5.105 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 (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.003136/0.8115, allocations: 2.451 MB / 0.8606 GB, free: 2.57 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001963/0.8135, allocations: 1.261 MB / 0.8619 GB, free: 1.273 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.8135, allocations: 0 / 0.8619 GB, free: 1.273 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009115/0.8144, allocations: 0.7898 MB / 0.8626 GB, free: 456 kB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2916/1.106, allocations: 0.845 MB / 0.8634 GB, free: 216.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/1.119, allocations: 9.103 MB / 0.8723 GB, free: 213 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007232/1.119, allocations: 1.36 MB / 0.8737 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001438/1.121, allocations: 356.2 kB / 0.874 GB, free: 212.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008187/1.122, allocations: 0.5468 MB / 0.8745 GB, free: 212.3 MB / 0.67 GB Notification: Performance of SimCode: time 1.944e-06/1.122, allocations: 1.594 kB / 0.8745 GB, free: 212.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07777/1.199, allocations: 42.77 MB / 0.9163 GB, free: 202.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000147/1.2, allocations: 230.2 kB / 0.9165 GB, free: 202.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.736/3.935, allocations: 3.938 kB / 0.9165 GB, free: 202.2 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_PPM.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.PPM.pipe 2>&1) Environment - environmentSimulation: