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.004809/0.004809, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001218/0.001218, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8046/0.8046, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.00198, allocations: 67.89 kB / 0.5809 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3914/0.3934, allocations: 80.21 MB / 0.6592 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.6145/1.008, allocations: 214.6 MB / 0.8688 GB, free: 1.961 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02097/1.029, allocations: 21.32 MB / 0.8896 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001635/1.031, allocations: 52.47 kB / 0.8897 GB, free: 1.875 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/1.032, allocations: 0.7361 MB / 0.8904 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.00901/1.041, allocations: 4.241 MB / 0.8945 GB, free: 1.707 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002376/1.044, allocations: 1.074 MB / 0.8956 GB, free: 1.684 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004413/1.048, allocations: 3.914 MB / 0.8994 GB, free: 1.672 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/1.05, allocations: 1.58 MB / 0.9009 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002876/1.053, allocations: 1.626 MB / 0.9025 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00278/1.056, allocations: 1.543 MB / 0.904 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/1.056, allocations: 162.8 kB / 0.9042 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/1.06, allocations: 1.83 MB / 0.906 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007119/1.06, allocations: 0.7421 MB / 0.9067 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001148/1.061, allocations: 0.9552 MB / 0.9076 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003699/1.065, allocations: 2.946 MB / 0.9105 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/1.065, allocations: 0 / 0.9105 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.382e-06/1.065, allocations: 0.9062 kB / 0.9105 GB, free: 1.133 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.71e-05/1.065, allocations: 0 / 0.9105 GB, free: 1.133 MB / 0.6856 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.002789/1.068, allocations: 2.097 MB / 0.9125 GB, free: 16.08 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/1.068, allocations: 11.67 kB / 0.9126 GB, free: 16.08 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/1.068, allocations: 196.8 kB / 0.9127 GB, free: 16.04 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/1.07, allocations: 411.9 kB / 0.9131 GB, free: 15.94 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/1.072, allocations: 1.158 MB / 0.9143 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.007e-05/1.072, allocations: 100 kB / 0.9144 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/1.072, allocations: 138.5 kB / 0.9145 GB, free: 15.54 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/1.074, allocations: 1.584 MB / 0.916 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/1.074, allocations: 3.188 kB / 0.916 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.074, allocations: 63.33 kB / 0.9161 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/1.074, allocations: 50.23 kB / 0.9162 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/1.076, allocations: 1.297 MB / 0.9174 GB, free: 15.3 MB / 0.7012 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.006734/1.083, allocations: 6.485 MB / 0.9238 GB, free: 12 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001181/1.084, allocations: 0.9417 MB / 0.9247 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/1.084, allocations: 482.7 kB / 0.9251 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/1.085, allocations: 418.1 kB / 0.9255 GB, free: 11.58 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/1.085, allocations: 54.67 kB / 0.9256 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.365e-06/1.085, allocations: 0.9062 kB / 0.9256 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of matching and sorting (n=84): time 0.004712/1.09, allocations: 2.956 MB / 0.9285 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/1.09, allocations: 64.5 kB / 0.9285 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/1.091, allocations: 1.204 MB / 0.9297 GB, free: 10.42 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.908e-05/1.091, allocations: 44.02 kB / 0.9298 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004457/1.092, allocations: 0.6899 MB / 0.9304 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002455/1.092, allocations: 309.5 kB / 0.9307 GB, free: 9.922 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/1.092, allocations: 200 kB / 0.9309 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001568/1.092, allocations: 350.6 kB / 0.9312 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/1.093, allocations: 373.3 kB / 0.9316 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/1.094, allocations: 0.7289 MB / 0.9323 GB, free: 9.199 MB / 0.7012 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.01037/1.104, allocations: 2.915 MB / 0.9352 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.104, allocations: 2.312 kB / 0.9352 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002363/1.106, allocations: 1.313 MB / 0.9364 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.107, allocations: 7.906 kB / 0.9365 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/1.107, allocations: 8.562 kB / 0.9365 GB, free: 8.621 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/1.107, allocations: 132.1 kB / 0.9366 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.108, allocations: 210.5 kB / 0.9368 GB, free: 8.594 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/1.112, allocations: 5.372 MB / 0.942 GB, free: 4.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/1.114, allocations: 57.75 kB / 0.9421 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/1.114, allocations: 49 kB / 0.9421 GB, free: 4.094 MB / 0.7012 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.0006144/1.114, allocations: 429 kB / 0.9425 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/1.115, allocations: 147.7 kB / 0.9427 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.116, allocations: 1.093 MB / 0.9438 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/1.116, allocations: 11.5 kB / 0.9438 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/1.116, allocations: 0 / 0.9438 GB, free: 3.793 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001151/1.117, allocations: 1.053 MB / 0.9448 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/1.121, allocations: 3.079 MB / 0.9478 GB, free: 2.637 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.122, allocations: 11.92 kB / 0.9478 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/1.122, allocations: 157.2 kB / 0.948 GB, free: 2.633 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/1.122, allocations: 131.8 kB / 0.9481 GB, free: 2.609 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.525e-05/1.122, allocations: 30.67 kB / 0.9481 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004124/1.127, allocations: 5.359 MB / 0.9533 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.127, allocations: 7.531 kB / 0.9534 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.129, allocations: 1.781 MB / 0.9551 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/1.129, allocations: 319.4 kB / 0.9554 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/1.129, allocations: 24.97 kB / 0.9554 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007129/1.13, allocations: 32.83 kB / 0.9555 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.13, allocations: 73.55 kB / 0.9555 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.688e-05/1.13, allocations: 34.11 kB / 0.9556 GB, free: 13.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009779/1.131, allocations: 0.858 MB / 0.9564 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/1.131, allocations: 3.938 kB / 0.9564 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001276/1.133, allocations: 406.3 kB / 0.9568 GB, free: 12.92 MB / 0.7169 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.002808/1.135, allocations: 2.457 MB / 0.9592 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001751/1.137, allocations: 1.296 MB / 0.9604 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.137, allocations: 0 / 0.9604 GB, free: 10.46 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008553/1.138, allocations: 0.7955 MB / 0.9612 GB, free: 9.91 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003425/1.141, allocations: 0.888 MB / 0.9621 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/1.156, allocations: 11.28 MB / 0.9731 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001022/1.157, allocations: 1.362 MB / 0.9744 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001175/1.158, allocations: 352.6 kB / 0.9748 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007356/1.159, allocations: 0.5461 MB / 0.9753 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/1.159, allocations: 0 / 0.9753 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7296/1.889, allocations: 43.68 MB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.02/16.91, allocations: 0 / 1.018 GB, free: 1.07 MB / 0.7637 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)