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.0009454/0.0009455, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.00578/0.00578, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9248/0.9248, allocations: 135.3 MB / 426.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003023, allocations: 12.28 kB / 0.5077 GB, free: 4.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1345, allocations: 82.3 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.4541/0.5886, allocations: 209.5 MB / 0.7927 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02191/0.6106, allocations: 21.2 MB / 0.8134 GB, free: 5.547 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.6118, allocations: 43.75 kB / 0.8134 GB, free: 5.504 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.6134, allocations: 0.6216 MB / 0.814 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007757/0.6212, allocations: 3.981 MB / 0.8179 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001972/0.6232, allocations: 0.9622 MB / 0.8189 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004779/0.628, allocations: 5.374 MB / 0.8241 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001422/0.6294, allocations: 1.299 MB / 0.8254 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001891/0.6313, allocations: 1.397 MB / 0.8267 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.6336, allocations: 1.53 MB / 0.8282 GB, free: 6.285 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.6338, allocations: 72 kB / 0.8283 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003125/0.6369, allocations: 2.088 MB / 0.8304 GB, free: 4.121 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.6375, allocations: 0.6427 MB / 0.831 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007572/0.6382, allocations: 0.8645 MB / 0.8318 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00272/0.641, allocations: 2.913 MB / 0.8347 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.641, allocations: 0 / 0.8347 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.402e-06/0.641, allocations: 0 / 0.8347 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.641, allocations: 0 / 0.8347 GB, free: 15.68 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.00238/0.6434, allocations: 1.705 MB / 0.8363 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.6434, allocations: 15.97 kB / 0.8363 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002146/0.6437, allocations: 202.1 kB / 0.8365 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.6456, allocations: 397.5 kB / 0.8369 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.6472, allocations: 1.101 MB / 0.838 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.851e-05/0.6473, allocations: 98.56 kB / 0.8381 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002198/0.6475, allocations: 147.8 kB / 0.8382 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.6497, allocations: 1.586 MB / 0.8398 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.6497, allocations: 0 / 0.8398 GB, free: 10.25 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.6498, allocations: 52 kB / 0.8398 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.6499, allocations: 50.45 kB / 0.8399 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.6521, allocations: 1.298 MB / 0.8411 GB, free: 8.84 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.007187/0.6592, allocations: 6.473 MB / 0.8475 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/0.6605, allocations: 0.9436 MB / 0.8484 GB, free: 1 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.6611, allocations: 485.3 kB / 0.8488 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.6618, allocations: 425 kB / 0.8493 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.6619, allocations: 47.23 kB / 0.8493 GB, free: 15.98 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.054e-06/0.6619, allocations: 0 / 0.8493 GB, free: 15.98 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.00478/0.6667, allocations: 2.944 MB / 0.8522 GB, free: 12.92 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.449e-05/0.6667, allocations: 64.39 kB / 0.8522 GB, free: 12.85 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.6681, allocations: 1.197 MB / 0.8534 GB, free: 11.63 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.641e-05/0.6681, allocations: 41.7 kB / 0.8534 GB, free: 11.59 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004752/0.6686, allocations: 0.6799 MB / 0.8541 GB, free: 10.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.6689, allocations: 307.6 kB / 0.8544 GB, free: 10.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.669, allocations: 85.67 kB / 0.8545 GB, free: 10.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6691, allocations: 345.9 kB / 0.8548 GB, free: 10.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.6697, allocations: 377.8 kB / 0.8552 GB, free: 9.793 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.6705, allocations: 0.7247 MB / 0.8559 GB, free: 8.922 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.01158/0.682, allocations: 3.206 MB / 0.859 GB, free: 5.59 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6821, allocations: 4 kB / 0.859 GB, free: 5.586 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00192/0.684, allocations: 1.296 MB / 0.8603 GB, free: 4.273 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.684, allocations: 8 kB / 0.8603 GB, free: 4.266 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.684, allocations: 12 kB / 0.8603 GB, free: 4.254 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/0.6843, allocations: 127.2 kB / 0.8604 GB, free: 4.121 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007311/0.685, allocations: 215.7 kB / 0.8606 GB, free: 3.91 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2327/0.9178, allocations: 4.817 MB / 0.8653 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.9193, allocations: 112.7 kB / 0.8654 GB, free: 216.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.9194, allocations: 40.5 kB / 0.8655 GB, free: 216.7 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 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 (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.0006013/0.92, allocations: 429.7 kB / 0.8659 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.9202, allocations: 140.4 kB / 0.866 GB, free: 216.6 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.9217, allocations: 1.1 MB / 0.8671 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.9217, allocations: 10.22 kB / 0.8671 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.9217, allocations: 0 / 0.8671 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001057/0.9228, allocations: 1.06 MB / 0.8681 GB, free: 216.2 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004319/0.9271, allocations: 3.123 MB / 0.8712 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.9271, allocations: 5.875 kB / 0.8712 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.9278, allocations: 160.3 kB / 0.8713 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000226/0.9281, allocations: 128.1 kB / 0.8715 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.9281, allocations: 27.5 kB / 0.8715 GB, free: 215.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/0.9309, allocations: 4.815 MB / 0.8762 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.9309, allocations: 9.594 kB / 0.8762 GB, free: 211.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.9328, allocations: 1.773 MB / 0.8779 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004688/0.9333, allocations: 309.2 kB / 0.8782 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.9335, allocations: 22.22 kB / 0.8783 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008817/0.9344, allocations: 82.89 kB / 0.8783 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.9345, allocations: 75.41 kB / 0.8784 GB, free: 210.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/0.9346, allocations: 37.33 kB / 0.8784 GB, free: 210.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009812/0.9355, allocations: 0.8505 MB / 0.8793 GB, free: 210.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.62e-07/0.9355, allocations: 0 / 0.8793 GB, free: 210.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001418/0.937, allocations: 410.2 kB / 0.8797 GB, free: 210.2 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.002451/0.9394, allocations: 2.438 MB / 0.882 GB, free: 208.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001651/0.9411, allocations: 1.272 MB / 0.8833 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.9411, allocations: 2.875 kB / 0.8833 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.9418, allocations: 0.7812 MB / 0.8841 GB, free: 207.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004516/0.9464, allocations: 0.8601 MB / 0.8849 GB, free: 207.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.9597, allocations: 12.69 MB / 0.8973 GB, free: 200.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006495/0.9603, allocations: 1.359 MB / 0.8986 GB, free: 199.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001247/0.9616, allocations: 350.4 kB / 0.899 GB, free: 199.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005598/0.9622, allocations: 0.5549 MB / 0.8995 GB, free: 198.8 MB / 0.67 GB Notification: Performance of SimCode: time 7.32e-07/0.9622, allocations: 0 / 0.8995 GB, free: 198.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2493/1.211, allocations: 41.54 MB / 0.9401 GB, free: 185.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/1.212, allocations: 253.6 kB / 0.9403 GB, free: 185.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.105, allocations: 0 / 0.9403 GB, free: 185.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 & /home/hudson/saved_omc/OMSimulator/install/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)