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.0008015/0.0008014, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0007968/0.0007968, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7451/0.7451, allocations: 132.3 MB / 423.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002997, allocations: 8 kB / 0.5035 GB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3989, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.PPM): time 0.2124/0.6114, allocations: 195.5 MB / 0.7741 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02164/0.6331, allocations: 19.84 MB / 0.7934 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.6345, allocations: 43.75 kB / 0.7935 GB, free: 8.559 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.6362, allocations: 0.5124 MB / 0.794 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007612/0.6439, allocations: 2.951 MB / 0.7969 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.6461, allocations: 0.7804 MB / 0.7976 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00469/0.6508, allocations: 4.553 MB / 0.8021 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001511/0.6524, allocations: 1.167 MB / 0.8032 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.6548, allocations: 1.408 MB / 0.8046 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.657, allocations: 1.46 MB / 0.806 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001671/0.6572, allocations: 76 kB / 0.8061 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.6598, allocations: 0.9236 MB / 0.807 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.6604, allocations: 0.6349 MB / 0.8076 GB, free: 10.03 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004769/0.6609, allocations: 364.8 kB / 0.808 GB, free: 9.664 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.6631, allocations: 2.05 MB / 0.81 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6631, allocations: 0 / 0.81 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6631, allocations: 0 / 0.81 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.435e-05/0.6632, allocations: 0 / 0.81 GB, free: 7.609 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.002661/0.6658, allocations: 1.722 MB / 0.8116 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.6659, allocations: 12.03 kB / 0.8117 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002152/0.6661, allocations: 190.1 kB / 0.8118 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.6681, allocations: 401.5 kB / 0.8122 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.6698, allocations: 1.059 MB / 0.8133 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.462e-05/0.6699, allocations: 110.5 kB / 0.8134 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.6701, allocations: 136 kB / 0.8135 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002323/0.6725, allocations: 1.571 MB / 0.815 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/0.6725, allocations: 3.938 kB / 0.815 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/0.6726, allocations: 52 kB / 0.8151 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.524e-05/0.6727, allocations: 54.45 kB / 0.8151 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.6746, allocations: 1.282 MB / 0.8164 GB, free: 0.8281 MB / 0.6387 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.3257/1, allocations: 6.472 MB / 0.8227 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/1.002, allocations: 0.9318 MB / 0.8236 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007456/1.003, allocations: 479.1 kB / 0.8241 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/1.003, allocations: 427.5 kB / 0.8245 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/1.003, allocations: 48.09 kB / 0.8245 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/1.003, allocations: 1.375 kB / 0.8245 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=84): time 0.00585/1.009, allocations: 2.929 MB / 0.8274 GB, free: 214.3 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/1.009, allocations: 59.59 kB / 0.8274 GB, free: 214.2 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002059/1.011, allocations: 1.186 MB / 0.8286 GB, free: 213.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.925e-05/1.012, allocations: 43.83 kB / 0.8286 GB, free: 213.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004536/1.012, allocations: 0.6792 MB / 0.8293 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/1.012, allocations: 306 kB / 0.8296 GB, free: 213 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/1.012, allocations: 19.59 kB / 0.8296 GB, free: 213 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/1.012, allocations: 346.2 kB / 0.8299 GB, free: 212.6 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/1.013, allocations: 373 kB / 0.8303 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007397/1.014, allocations: 0.7249 MB / 0.831 GB, free: 212 MB / 0.6387 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.009827/1.023, allocations: 2.368 MB / 0.8333 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-06/1.024, allocations: 9.172 kB / 0.8333 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002415/1.026, allocations: 1.289 MB / 0.8346 GB, free: 211 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.978e-05/1.026, allocations: 8.25 kB / 0.8346 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/1.026, allocations: 10.84 kB / 0.8346 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/1.026, allocations: 134.3 kB / 0.8347 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/1.027, allocations: 207.4 kB / 0.8349 GB, free: 211 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/1.03, allocations: 4.828 MB / 0.8396 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/1.032, allocations: 97.59 kB / 0.8397 GB, free: 206.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-05/1.032, allocations: 51.53 kB / 0.8398 GB, free: 206.3 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007271/1.033, allocations: 425.7 kB / 0.8402 GB, free: 206 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/1.033, allocations: 140.3 kB / 0.8403 GB, free: 205.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/1.034, allocations: 1.09 MB / 0.8414 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/1.034, allocations: 12.77 kB / 0.8414 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/1.034, allocations: 3.906 kB / 0.8414 GB, free: 205.3 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001188/1.036, allocations: 1.044 MB / 0.8424 GB, free: 204.6 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/1.04, allocations: 3.118 MB / 0.8455 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/1.04, allocations: 7.031 kB / 0.8455 GB, free: 202.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006751/1.041, allocations: 164.4 kB / 0.8456 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002203/1.041, allocations: 124.9 kB / 0.8458 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.459e-05/1.041, allocations: 32.55 kB / 0.8458 GB, free: 202.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/1.044, allocations: 4.811 MB / 0.8505 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/1.044, allocations: 5.438 kB / 0.8505 GB, free: 197.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.046, allocations: 1.767 MB / 0.8522 GB, free: 196.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005312/1.047, allocations: 306.6 kB / 0.8525 GB, free: 196.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/1.047, allocations: 27.89 kB / 0.8525 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008004/1.048, allocations: 83.09 kB / 0.8526 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/1.048, allocations: 75.89 kB / 0.8527 GB, free: 196.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.267e-05/1.048, allocations: 39.64 kB / 0.8527 GB, free: 196.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009497/1.049, allocations: 0.8333 MB / 0.8535 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.01e-07/1.049, allocations: 0 / 0.8535 GB, free: 195.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001341/1.05, allocations: 407.2 kB / 0.8539 GB, free: 195.7 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002237/1.053, allocations: 2.438 MB / 0.8563 GB, free: 194 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001476/1.054, allocations: 1.265 MB / 0.8575 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.054, allocations: 0 / 0.8575 GB, free: 193.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006725/1.055, allocations: 0.7906 MB / 0.8583 GB, free: 192.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003167/1.058, allocations: 0.8731 MB / 0.8592 GB, free: 192.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.069, allocations: 9.099 MB / 0.868 GB, free: 182.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/1.069, allocations: 1.355 MB / 0.8694 GB, free: 181.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001295/1.071, allocations: 356.8 kB / 0.8697 GB, free: 180.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005798/1.071, allocations: 0.5461 MB / 0.8702 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of SimCode: time 1.202e-06/1.071, allocations: 0 / 0.8702 GB, free: 180.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07284/1.144, allocations: 42.76 MB / 0.912 GB, free: 138.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001241/1.144, allocations: 222 kB / 0.9122 GB, free: 137.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.912, allocations: 0 / 0.9122 GB, free: 137.9 MB / 0.6387 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/linux/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) Environment - environmentSimulation: