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.001184/0.001184, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001325/0.001325, allocations: 190.7 kB / 16.25 MB, free: 6.625 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.234/1.234, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7055/0.7055, allocations: 132.2 MB / 422.3 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.92 kB / 0.5014 GB, free: 9.035 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1236, allocations: 80.19 MB / 0.5797 GB, free: 9.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.3832/0.5068, allocations: 211.9 MB / 0.7866 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.5275, allocations: 21.18 MB / 0.8073 GB, free: 10 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.5287, allocations: 47.69 kB / 0.8074 GB, free: 9.953 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001568/0.5303, allocations: 0.6451 MB / 0.808 GB, free: 9.305 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007521/0.5378, allocations: 3.981 MB / 0.8119 GB, free: 5.309 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.5398, allocations: 0.9821 MB / 0.8128 GB, free: 4.336 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003223/0.543, allocations: 3.904 MB / 0.8166 GB, free: 432 kB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.5445, allocations: 1.527 MB / 0.8181 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.5463, allocations: 1.631 MB / 0.8197 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002152/0.5485, allocations: 1.652 MB / 0.8213 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.5487, allocations: 160 kB / 0.8215 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002537/0.5512, allocations: 1.921 MB / 0.8234 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.5518, allocations: 0.7403 MB / 0.8241 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007515/0.5526, allocations: 0.9644 MB / 0.825 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0028/0.5554, allocations: 3.034 MB / 0.828 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5554, allocations: 0 / 0.828 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5554, allocations: 0 / 0.828 GB, free: 4.746 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.5554, allocations: 0 / 0.828 GB, free: 4.746 MB / 0.6387 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.0026/0.558, allocations: 2.04 MB / 0.83 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5581, allocations: 12.03 kB / 0.83 GB, free: 2.641 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.5583, allocations: 194.1 kB / 0.8302 GB, free: 2.441 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002077/0.5603, allocations: 401.5 kB / 0.8306 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.562, allocations: 1.101 MB / 0.8316 GB, free: 0.8867 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.562, allocations: 101.1 kB / 0.8317 GB, free: 0.7891 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.5622, allocations: 143.9 kB / 0.8319 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.5644, allocations: 1.583 MB / 0.8334 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.811e-05/0.5644, allocations: 0 / 0.8334 GB, free: 14.99 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.5645, allocations: 56 kB / 0.8335 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.927e-05/0.5646, allocations: 54.44 kB / 0.8335 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001758/0.5664, allocations: 1.294 MB / 0.8348 GB, free: 13.58 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.006257/0.5726, allocations: 6.469 MB / 0.8411 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5739, allocations: 0.9372 MB / 0.842 GB, free: 5.75 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005598/0.5744, allocations: 486.5 kB / 0.8425 GB, free: 5.273 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006597/0.5751, allocations: 409 kB / 0.8429 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.5751, allocations: 47.22 kB / 0.8429 GB, free: 4.746 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.134e-06/0.5751, allocations: 3.938 kB / 0.8429 GB, free: 4.742 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004598/0.5797, allocations: 2.932 MB / 0.8458 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5798, allocations: 64.41 kB / 0.8458 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/0.581, allocations: 1.193 MB / 0.847 GB, free: 424 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.553e-05/0.5811, allocations: 49.64 kB / 0.8471 GB, free: 368 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004313/0.5815, allocations: 0.6799 MB / 0.8477 GB, free: 15.67 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/0.5818, allocations: 311.6 kB / 0.848 GB, free: 15.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000258/0.582, allocations: 194.5 kB / 0.8482 GB, free: 15.17 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.5821, allocations: 349.9 kB / 0.8485 GB, free: 14.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.5826, allocations: 369.8 kB / 0.8489 GB, free: 14.46 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.5834, allocations: 0.7325 MB / 0.8496 GB, free: 13.57 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.01089/0.5943, allocations: 2.93 MB / 0.8525 GB, free: 10.52 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5943, allocations: 0 / 0.8525 GB, free: 10.52 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001737/0.5961, allocations: 1.293 MB / 0.8537 GB, free: 9.207 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.5961, allocations: 12.06 kB / 0.8537 GB, free: 9.195 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5961, allocations: 8 kB / 0.8538 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002475/0.5964, allocations: 134.5 kB / 0.8539 GB, free: 9.047 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007052/0.5971, allocations: 199.7 kB / 0.8541 GB, free: 8.852 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.6007, allocations: 5.375 MB / 0.8593 GB, free: 3.066 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.6018, allocations: 103.9 kB / 0.8594 GB, free: 2.965 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.137e-05/0.6019, allocations: 51.98 kB / 0.8595 GB, free: 2.914 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.0005365/0.6025, allocations: 420.6 kB / 0.8599 GB, free: 2.496 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.6026, allocations: 146.2 kB / 0.86 GB, free: 2.352 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.6042, allocations: 1.096 MB / 0.8611 GB, free: 1.238 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6042, allocations: 11.98 kB / 0.8611 GB, free: 1.227 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.6043, allocations: 4 kB / 0.8611 GB, free: 1.223 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001185/0.6054, allocations: 1.05 MB / 0.8621 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2112/0.8166, allocations: 3.083 MB / 0.8651 GB, free: 225 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.8167, allocations: 5.781 kB / 0.8651 GB, free: 225 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000647/0.8173, allocations: 164.3 kB / 0.8653 GB, free: 225 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002071/0.8175, allocations: 127.4 kB / 0.8654 GB, free: 225 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.8176, allocations: 25.28 kB / 0.8654 GB, free: 225 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002524/0.8201, allocations: 5.367 MB / 0.8707 GB, free: 220.2 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.8201, allocations: 5.75 kB / 0.8707 GB, free: 220.2 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.8218, allocations: 1.765 MB / 0.8724 GB, free: 219.3 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003921/0.8222, allocations: 314.1 kB / 0.8727 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.8224, allocations: 30.91 kB / 0.8727 GB, free: 219.2 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.8232, allocations: 80.95 kB / 0.8728 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.8233, allocations: 69.33 kB / 0.8729 GB, free: 219.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.8234, allocations: 39.67 kB / 0.8729 GB, free: 219.1 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007741/0.8241, allocations: 0.8435 MB / 0.8737 GB, free: 218.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8241, allocations: 2.625 kB / 0.8737 GB, free: 218.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001195/0.8253, allocations: 407.7 kB / 0.8741 GB, free: 218.8 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.002092/0.8274, allocations: 2.456 MB / 0.8765 GB, free: 217.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001611/0.8291, allocations: 1.447 MB / 0.8779 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.8291, allocations: 0 / 0.8779 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0006367/0.8297, allocations: 0.7939 MB / 0.8787 GB, free: 216.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003072/0.8328, allocations: 0.902 MB / 0.8796 GB, free: 216.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.8449, allocations: 12.6 MB / 0.8919 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006085/0.8455, allocations: 1.356 MB / 0.8932 GB, free: 208 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001178/0.8467, allocations: 358 kB / 0.8936 GB, free: 207.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005465/0.8473, allocations: 0.5446 MB / 0.8941 GB, free: 207.5 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.8473, allocations: 0 / 0.8941 GB, free: 207.5 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.886/2.733, allocations: 43.1 MB / 0.9362 GB, free: 193.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001545/2.734, allocations: 243.6 kB / 0.9364 GB, free: 193.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.953/5.686, allocations: 3.828 kB / 0.9364 GB, free: 193.1 MB / 0.67 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/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)