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.001469/0.001469, 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.001727/0.001727, allocations: 193.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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.916/0.916, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.53 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1372, allocations: 80.93 MB / 0.5845 GB, free: 4.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.4402/0.5774, allocations: 214.6 MB / 0.794 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.5992, allocations: 21.34 MB / 0.8149 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001484/0.6008, allocations: 55.69 kB / 0.8149 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001768/0.6025, allocations: 0.7376 MB / 0.8156 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008593/0.6112, allocations: 4.236 MB / 0.8198 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002295/0.6135, allocations: 1.054 MB / 0.8208 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003887/0.6174, allocations: 3.92 MB / 0.8246 GB, free: 6.766 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.6198, allocations: 1.576 MB / 0.8262 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.6232, allocations: 1.627 MB / 0.8278 GB, free: 3.535 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.626, allocations: 1.541 MB / 0.8293 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002558/0.6263, allocations: 167.9 kB / 0.8294 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00342/0.6297, allocations: 1.816 MB / 0.8312 GB, free: 12 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007172/0.6304, allocations: 0.7444 MB / 0.8319 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.6315, allocations: 0.9488 MB / 0.8329 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003626/0.6351, allocations: 2.906 MB / 0.8357 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6351, allocations: 0 / 0.8357 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6352, allocations: 4 kB / 0.8357 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.6352, allocations: 0 / 0.8357 GB, free: 11.39 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.002901/0.6381, allocations: 2.04 MB / 0.8377 GB, free: 9.301 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.6381, allocations: 11.97 kB / 0.8377 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002096/0.6384, allocations: 198.1 kB / 0.8379 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/0.6404, allocations: 397.5 kB / 0.8383 GB, free: 8.695 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.6421, allocations: 1.097 MB / 0.8393 GB, free: 7.539 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.331e-05/0.6422, allocations: 102.6 kB / 0.8394 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.6424, allocations: 143.8 kB / 0.8396 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.6446, allocations: 1.583 MB / 0.8411 GB, free: 5.641 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/0.6446, allocations: 4 kB / 0.8411 GB, free: 5.637 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6447, allocations: 56 kB / 0.8412 GB, free: 5.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.66e-05/0.6448, allocations: 50.44 kB / 0.8412 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001896/0.6467, allocations: 1.298 MB / 0.8425 GB, free: 4.227 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.007142/0.6538, allocations: 6.508 MB / 0.8488 GB, free: 13.3 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.6551, allocations: 0.9428 MB / 0.8498 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005991/0.6557, allocations: 482.5 kB / 0.8502 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/0.6564, allocations: 413 kB / 0.8506 GB, free: 11.41 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.6565, allocations: 43.22 kB / 0.8507 GB, free: 11.35 MB / 0.67 GB Notification: Performance of pre-optimization done (n=82): time 2.534e-06/0.6565, allocations: 4 kB / 0.8507 GB, free: 11.35 MB / 0.67 GB Notification: Performance of matching and sorting (n=84): time 0.004727/0.6612, allocations: 2.936 MB / 0.8535 GB, free: 8.301 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.6613, allocations: 60.41 kB / 0.8536 GB, free: 8.227 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.6626, allocations: 1.197 MB / 0.8548 GB, free: 7.012 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.6626, allocations: 45.7 kB / 0.8548 GB, free: 6.961 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004499/0.6631, allocations: 0.6838 MB / 0.8555 GB, free: 6.27 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.6633, allocations: 299.6 kB / 0.8558 GB, free: 5.973 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002628/0.6636, allocations: 198.5 kB / 0.8559 GB, free: 5.773 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6637, allocations: 345.9 kB / 0.8563 GB, free: 5.43 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005305/0.6643, allocations: 374.9 kB / 0.8566 GB, free: 5.066 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/0.6651, allocations: 0.7325 MB / 0.8573 GB, free: 4.18 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.01151/0.6766, allocations: 2.921 MB / 0.8602 GB, free: 1.141 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6766, allocations: 4 kB / 0.8602 GB, free: 1.137 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.2268/0.9034, allocations: 1.287 MB / 0.8615 GB, free: 221.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.9035, allocations: 10.69 kB / 0.8615 GB, free: 221.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/0.9035, allocations: 9.25 kB / 0.8615 GB, free: 221.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/0.9038, allocations: 129.3 kB / 0.8616 GB, free: 221.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.9047, allocations: 208.6 kB / 0.8618 GB, free: 221.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003061/0.9077, allocations: 5.378 MB / 0.8671 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.9089, allocations: 48.8 kB / 0.8671 GB, free: 217.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.794e-05/0.909, allocations: 48.11 kB / 0.8671 GB, free: 217.3 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.000556/0.9096, allocations: 430.6 kB / 0.8676 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.9097, allocations: 148.9 kB / 0.8677 GB, free: 217.2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.9112, allocations: 1.092 MB / 0.8688 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.9112, allocations: 8.781 kB / 0.8688 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.9112, allocations: 0 / 0.8688 GB, free: 217 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001058/0.9123, allocations: 1.056 MB / 0.8698 GB, free: 216.5 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/0.9162, allocations: 3.084 MB / 0.8728 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.9163, allocations: 5.875 kB / 0.8728 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006884/0.917, allocations: 160.5 kB / 0.873 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002003/0.9172, allocations: 134.7 kB / 0.8731 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.9172, allocations: 26.62 kB / 0.8731 GB, free: 214.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.92, allocations: 5.363 MB / 0.8784 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.92, allocations: 8.125 kB / 0.8784 GB, free: 210 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.9217, allocations: 1.763 MB / 0.8801 GB, free: 209.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.9221, allocations: 317.6 kB / 0.8804 GB, free: 209 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/0.9223, allocations: 27.25 kB / 0.8804 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007579/0.9231, allocations: 31.69 kB / 0.8805 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.9232, allocations: 77.39 kB / 0.8805 GB, free: 208.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.254e-05/0.9233, allocations: 36.86 kB / 0.8806 GB, free: 208.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008562/0.9241, allocations: 0.8444 MB / 0.8814 GB, free: 208.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9241, allocations: 0 / 0.8814 GB, free: 208.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001269/0.9254, allocations: 403 kB / 0.8818 GB, free: 208.6 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.002259/0.9277, allocations: 2.462 MB / 0.8842 GB, free: 207.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.9294, allocations: 1.448 MB / 0.8856 GB, free: 206.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9295, allocations: 3.219 kB / 0.8856 GB, free: 206.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006742/0.9301, allocations: 0.7888 MB / 0.8864 GB, free: 206 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.9335, allocations: 0.8949 MB / 0.8872 GB, free: 205.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.945, allocations: 12.14 MB / 0.8991 GB, free: 198.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007604/0.9458, allocations: 1.358 MB / 0.9004 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001236/0.9471, allocations: 354.9 kB / 0.9008 GB, free: 198 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.9477, allocations: 0.5503 MB / 0.9013 GB, free: 197.6 MB / 0.67 GB Notification: Performance of SimCode: time 6.01e-07/0.9477, allocations: 0 / 0.9013 GB, free: 197.6 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7995/1.747, allocations: 43.35 MB / 0.9436 GB, free: 181.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/16.49, allocations: 3.234 kB / 0.9436 GB, free: 181.5 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)