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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 172.4 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8324/0.8324, allocations: 133.6 MB / 141.6 MB, free: 2.867 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.5 MB / 395.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009476/0.0009476, allocations: 95.56 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.194e-05, allocations: 8 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4971, allocations: 82.29 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.026/5.523, allocations: 1.901 GB / 2.535 GB, free: 96.68 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/5.524, allocations: 84.27 kB / 2.535 GB, free: 96.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.473/11, allocations: 1.281 GB / 3.816 GB, free: 85.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.845e-06/11, allocations: 0 / 3.816 GB, free: 85.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002572/11, allocations: 42 kB / 3.816 GB, free: 85.87 MB / 0.698 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.007097/11, allocations: 1.836 MB / 3.818 GB, free: 85.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/11, allocations: 11.67 kB / 3.818 GB, free: 85.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003382/11.01, allocations: 396.9 kB / 3.818 GB, free: 84.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003642/11.01, allocations: 1.146 MB / 3.819 GB, free: 84.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.589e-05/11.01, allocations: 44.06 kB / 3.819 GB, free: 84.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005531/11.01, allocations: 83.88 kB / 3.819 GB, free: 84.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002968/11.01, allocations: 1.111 MB / 3.821 GB, free: 84.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/11.02, allocations: 1.318 MB / 3.822 GB, free: 84.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/11.02, allocations: 2.25 kB / 3.822 GB, free: 84.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/11.02, allocations: 0 / 3.822 GB, free: 84.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.849e-05/11.02, allocations: 46.73 kB / 3.822 GB, free: 84.34 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.008974/11.03, allocations: 6.243 MB / 3.828 GB, free: 81.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/11.03, allocations: 0.887 MB / 3.829 GB, free: 81.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/11.03, allocations: 423.4 kB / 3.829 GB, free: 81.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/11.03, allocations: 414 kB / 3.83 GB, free: 80.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/11.03, allocations: 45.81 kB / 3.83 GB, free: 80.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=82): time 5.2e-06/11.03, allocations: 0 / 3.83 GB, free: 80.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=84): time 0.006119/11.03, allocations: 2.503 MB / 3.832 GB, free: 80 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/11.04, allocations: 63 kB / 3.832 GB, free: 79.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/11.04, allocations: 0.7087 MB / 3.833 GB, free: 79.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/11.04, allocations: 29.64 kB / 3.833 GB, free: 79.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005351/11.04, allocations: 0.6951 MB / 3.834 GB, free: 79.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/11.04, allocations: 290.6 kB / 3.834 GB, free: 79.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/11.04, allocations: 0 / 3.834 GB, free: 79.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001425/11.04, allocations: 346.4 kB / 3.834 GB, free: 78.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/11.04, allocations: 332.6 kB / 3.834 GB, free: 78.93 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007984/11.04, allocations: 0.7118 MB / 3.835 GB, free: 78.5 MB / 0.698 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.002859/11.04, allocations: 1.143 MB / 3.836 GB, free: 78.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/11.04, allocations: 4.812 kB / 3.836 GB, free: 78.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002581/11.04, allocations: 1.287 MB / 3.838 GB, free: 78.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.42e-05/11.04, allocations: 11.73 kB / 3.838 GB, free: 78.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/11.04, allocations: 6.906 kB / 3.838 GB, free: 78.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/11.04, allocations: 148.4 kB / 3.838 GB, free: 78.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/11.05, allocations: 200.5 kB / 3.838 GB, free: 78.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003444/11.05, allocations: 4.611 MB / 3.842 GB, free: 74.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/11.05, allocations: 74.52 kB / 3.842 GB, free: 74.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/11.05, allocations: 49.59 kB / 3.843 GB, free: 74.41 MB / 0.698 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 () * 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.0003005/11.05, allocations: 132.5 kB / 3.843 GB, free: 74.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002009/11.05, allocations: 1.047 MB / 3.844 GB, free: 74.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/11.05, allocations: 121.3 kB / 3.844 GB, free: 74.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/11.06, allocations: 1.122 MB / 3.845 GB, free: 73.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/11.06, allocations: 11.31 kB / 3.845 GB, free: 73.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/11.06, allocations: 0 / 3.845 GB, free: 73.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001546/11.06, allocations: 1.113 MB / 3.846 GB, free: 73.69 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00529/11.06, allocations: 2.944 MB / 3.849 GB, free: 72.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/11.06, allocations: 7.094 kB / 3.849 GB, free: 72.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/11.06, allocations: 159.3 kB / 3.849 GB, free: 72.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003309/11.06, allocations: 137.8 kB / 3.849 GB, free: 72.82 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/11.06, allocations: 14.92 kB / 3.849 GB, free: 72.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/11.07, allocations: 4.601 MB / 3.854 GB, free: 68.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/11.07, allocations: 7.438 kB / 3.854 GB, free: 68.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/11.07, allocations: 2.069 MB / 3.856 GB, free: 68.13 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007481/11.07, allocations: 284.4 kB / 3.856 GB, free: 67.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/11.07, allocations: 13.78 kB / 3.856 GB, free: 67.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008716/11.07, allocations: 59.69 kB / 3.856 GB, free: 67.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/11.07, allocations: 78.77 kB / 3.856 GB, free: 67.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.1e-05/11.07, allocations: 33.38 kB / 3.856 GB, free: 67.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008357/11.07, allocations: 0.5358 MB / 3.857 GB, free: 67.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/11.07, allocations: 0 / 3.857 GB, free: 67.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002479/11.08, allocations: 0.5255 MB / 3.857 GB, free: 67.84 MB / 0.698 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 () * 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.007233/11.08, allocations: 6.829 MB / 3.864 GB, free: 64.03 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001927/11.08, allocations: 1.163 MB / 3.865 GB, free: 63.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/11.08, allocations: 3.594 kB / 3.865 GB, free: 63.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/11.09, allocations: 0.7246 MB / 3.866 GB, free: 63.34 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003367/11.09, allocations: 0.6042 MB / 3.866 GB, free: 63.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005314/11.09, allocations: 2.511 MB / 3.869 GB, free: 62.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009124/11.09, allocations: 1.384 MB / 3.87 GB, free: 61.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001421/11.1, allocations: 314.3 kB / 3.87 GB, free: 61.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006999/11.1, allocations: 0.5256 MB / 3.871 GB, free: 61.79 MB / 0.698 GB Notification: Performance of SimCode: time 1.072e-06/11.1, allocations: 0 / 3.871 GB, free: 61.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/11.2, allocations: 51.57 MB / 3.921 GB, free: 17.13 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/11.2, allocations: 139.8 kB / 3.921 GB, free: 16.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.054/15.25, allocations: 0 / 3.921 GB, free: 16.95 MB / 0.698 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/linux/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)