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.001173/0.001173, allocations: 108 kB / 15.61 MB, free: 152 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.001534/0.001534, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7511/0.7511, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002408/0.002408, allocations: 64.25 kB / 0.5019 GB, free: 3.816 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4039, allocations: 80.21 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.207/0.6109, allocations: 214.6 MB / 0.7898 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02278/0.6338, allocations: 21.34 MB / 0.8106 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001394/0.6352, allocations: 51.75 kB / 0.8107 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.637, allocations: 0.7414 MB / 0.8114 GB, free: 3.969 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.2987/0.9358, allocations: 4.228 MB / 0.8155 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002665/0.9385, allocations: 1.06 MB / 0.8165 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004787/0.9433, allocations: 3.903 MB / 0.8204 GB, free: 4.734 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002062/0.9454, allocations: 1.575 MB / 0.8219 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002929/0.9483, allocations: 1.62 MB / 0.8235 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002778/0.9511, allocations: 1.543 MB / 0.825 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005307/0.9516, allocations: 162 kB / 0.8251 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003638/0.9553, allocations: 1.825 MB / 0.8269 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009924/0.9563, allocations: 0.7432 MB / 0.8276 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001639/0.9579, allocations: 0.9566 MB / 0.8286 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003809/0.9617, allocations: 2.9 MB / 0.8314 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.9618, allocations: 0 / 0.8314 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9618, allocations: 1.25 kB / 0.8314 GB, free: 4.492 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.008e-05/0.9618, allocations: 0 / 0.8314 GB, free: 4.492 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.002986/0.9648, allocations: 2.04 MB / 0.8334 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.9648, allocations: 8.844 kB / 0.8334 GB, free: 19.52 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/0.965, allocations: 199.5 kB / 0.8336 GB, free: 19.47 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.9671, allocations: 403.3 kB / 0.834 GB, free: 19.38 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.9687, allocations: 1.094 MB / 0.8351 GB, free: 18.99 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.9688, allocations: 99.97 kB / 0.8352 GB, free: 18.98 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.9689, allocations: 139.9 kB / 0.8353 GB, free: 18.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.9709, allocations: 1.587 MB / 0.8368 GB, free: 18.77 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.971, allocations: 7.812 kB / 0.8368 GB, free: 18.77 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.9711, allocations: 58.42 kB / 0.8369 GB, free: 18.77 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/0.9712, allocations: 49.33 kB / 0.8369 GB, free: 18.77 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.9729, allocations: 1.296 MB / 0.8382 GB, free: 18.75 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.007025/0.9799, allocations: 6.512 MB / 0.8446 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001221/0.9812, allocations: 0.9414 MB / 0.8455 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.9817, allocations: 483.9 kB / 0.8459 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/0.9824, allocations: 419.5 kB / 0.8463 GB, free: 15.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.9825, allocations: 44.81 kB / 0.8464 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.454e-06/0.9825, allocations: 0.875 kB / 0.8464 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of matching and sorting (n=84): time 0.004624/0.9871, allocations: 2.936 MB / 0.8493 GB, free: 14.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.9872, allocations: 59.12 kB / 0.8493 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.9884, allocations: 1.2 MB / 0.8505 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.145e-05/0.9885, allocations: 46.58 kB / 0.8505 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/0.9888, allocations: 0.6759 MB / 0.8512 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.989, allocations: 305.4 kB / 0.8515 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002493/0.9893, allocations: 197.6 kB / 0.8517 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.9894, allocations: 349.6 kB / 0.852 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004847/0.9899, allocations: 370.4 kB / 0.8524 GB, free: 13.12 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.9906, allocations: 0.7335 MB / 0.8531 GB, free: 12.73 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.01132/1.002, allocations: 2.919 MB / 0.8559 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.002, allocations: 2.625 kB / 0.8559 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001988/1.004, allocations: 1.295 MB / 0.8572 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.004, allocations: 7.938 kB / 0.8572 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.004, allocations: 12.91 kB / 0.8572 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002593/1.004, allocations: 137.5 kB / 0.8573 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007347/1.005, allocations: 204.2 kB / 0.8575 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/1.009, allocations: 5.368 MB / 0.8628 GB, free: 7.688 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/1.01, allocations: 53.62 kB / 0.8628 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.54e-05/1.011, allocations: 49.11 kB / 0.8629 GB, free: 7.684 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 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.0006822/1.011, allocations: 428.8 kB / 0.8633 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002027/1.011, allocations: 142.2 kB / 0.8634 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/1.013, allocations: 1.098 MB / 0.8645 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/1.013, allocations: 8.906 kB / 0.8645 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/1.013, allocations: 0 / 0.8645 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/1.014, allocations: 1.054 MB / 0.8655 GB, free: 7.125 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004902/1.019, allocations: 3.083 MB / 0.8685 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/1.019, allocations: 7.375 kB / 0.8686 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006849/1.02, allocations: 161 kB / 0.8687 GB, free: 6.277 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002306/1.02, allocations: 131.6 kB / 0.8688 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.602e-05/1.02, allocations: 26.25 kB / 0.8689 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003719/1.024, allocations: 5.366 MB / 0.8741 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.024, allocations: 6.688 kB / 0.8741 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/1.026, allocations: 1.771 MB / 0.8758 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005472/1.027, allocations: 310 kB / 0.8761 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/1.027, allocations: 24.62 kB / 0.8762 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007648/1.027, allocations: 27.22 kB / 0.8762 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/1.028, allocations: 74.44 kB / 0.8762 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/1.028, allocations: 40.58 kB / 0.8763 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009388/1.029, allocations: 0.8438 MB / 0.8771 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.62e-07/1.029, allocations: 0 / 0.8771 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001441/1.03, allocations: 412.3 kB / 0.8775 GB, free: 1.027 MB / 0.6544 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.002582/1.033, allocations: 2.457 MB / 0.8799 GB, free: 28 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001983/1.035, allocations: 1.454 MB / 0.8813 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.035, allocations: 3.969 kB / 0.8813 GB, free: 15.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007661/1.035, allocations: 0.7897 MB / 0.8821 GB, free: 15.33 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/1.039, allocations: 0.8962 MB / 0.883 GB, free: 15.21 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/1.052, allocations: 12.15 MB / 0.8948 GB, free: 10.37 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007633/1.053, allocations: 1.353 MB / 0.8962 GB, free: 9.645 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001248/1.054, allocations: 357.9 kB / 0.8965 GB, free: 9.562 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005884/1.055, allocations: 0.5493 MB / 0.897 GB, free: 9.551 MB / 0.67 GB Notification: Performance of SimCode: time 6.02e-07/1.055, allocations: 0 / 0.897 GB, free: 9.551 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6231/1.678, allocations: 43.31 MB / 0.9393 GB, free: 0.7773 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.92, allocations: 18.55 kB / 0.9394 GB, free: 0.7656 MB / 0.7012 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)