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.001217/0.001217, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7235/0.7235, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.638/1.638, allocations: 221.3 MB / 400.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 98.69 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.497e-05, allocations: 4.469 kB / 0.5601 GB, free: 87.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1728, allocations: 82.31 MB / 0.6405 GB, free: 7.734 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.267/5.439, allocations: 1.901 GB / 2.542 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/5.44, allocations: 86.33 kB / 2.542 GB, free: 203.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.81/10.25, allocations: 1.295 GB / 3.837 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/10.25, allocations: 0 / 3.837 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002231/10.25, allocations: 43.98 kB / 3.837 GB, free: 14.57 MB / 0.7136 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.006538/10.26, allocations: 1.836 MB / 3.839 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/10.26, allocations: 8.031 kB / 3.839 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008294/10.26, allocations: 198.1 kB / 3.839 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003365/10.26, allocations: 393.6 kB / 3.839 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00408/10.26, allocations: 1.144 MB / 3.841 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/10.27, allocations: 106.6 kB / 3.841 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005611/10.27, allocations: 136 kB / 3.841 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/10.27, allocations: 1.497 MB / 3.842 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/10.27, allocations: 0 / 3.842 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/10.27, allocations: 56 kB / 3.842 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-05/10.27, allocations: 46.45 kB / 3.842 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/10.27, allocations: 1.193 MB / 3.844 GB, free: 7.77 MB / 0.7136 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.01128/10.28, allocations: 6.552 MB / 3.85 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6687/10.95, allocations: 0.9119 MB / 3.851 GB, free: 86.67 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/10.95, allocations: 462.3 kB / 3.851 GB, free: 86.66 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006991/10.95, allocations: 411.5 kB / 3.852 GB, free: 86.28 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/10.95, allocations: 41.86 kB / 3.852 GB, free: 86.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=82): time 4.068e-06/10.95, allocations: 0 / 3.852 GB, free: 86.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.005726/10.96, allocations: 2.295 MB / 3.854 GB, free: 85.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/10.96, allocations: 63.69 kB / 3.854 GB, free: 85.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002019/10.96, allocations: 1.026 MB / 3.855 GB, free: 85.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/10.96, allocations: 44.08 kB / 3.855 GB, free: 85.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006184/10.96, allocations: 0.6794 MB / 3.856 GB, free: 85.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000317/10.96, allocations: 301.2 kB / 3.856 GB, free: 85.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/10.96, allocations: 22.97 kB / 3.856 GB, free: 85.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000116/10.96, allocations: 346.4 kB / 3.856 GB, free: 84.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/10.96, allocations: 356.3 kB / 3.857 GB, free: 84.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008644/10.97, allocations: 0.7335 MB / 3.857 GB, free: 84.48 MB / 0.7136 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.01162/10.98, allocations: 2.322 MB / 3.86 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/10.98, allocations: 7.297 kB / 3.86 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002853/10.98, allocations: 1.293 MB / 3.861 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/10.98, allocations: 9.062 kB / 3.861 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/10.98, allocations: 9.531 kB / 3.861 GB, free: 84.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/10.98, allocations: 153.2 kB / 3.861 GB, free: 84.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008637/10.98, allocations: 203.5 kB / 3.861 GB, free: 84.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/10.98, allocations: 4.778 MB / 3.866 GB, free: 80.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/10.99, allocations: 109.1 kB / 3.866 GB, free: 80.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/10.99, allocations: 45.72 kB / 3.866 GB, free: 80.2 MB / 0.7136 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.0002722/10.99, allocations: 172.6 kB / 3.866 GB, free: 80.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/10.99, allocations: 140.9 kB / 3.866 GB, free: 80.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/10.99, allocations: 1.109 MB / 3.867 GB, free: 79.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.017e-05/10.99, allocations: 6.906 kB / 3.867 GB, free: 79.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/10.99, allocations: 1.594 kB / 3.867 GB, free: 79.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/10.99, allocations: 1.053 MB / 3.869 GB, free: 79.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006847/11, allocations: 3.069 MB / 3.872 GB, free: 78.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/11, allocations: 9.234 kB / 3.872 GB, free: 78.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008729/11, allocations: 159.8 kB / 3.872 GB, free: 78.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004574/11, allocations: 134.8 kB / 3.872 GB, free: 78.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.381e-05/11, allocations: 28.64 kB / 3.872 GB, free: 78.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003971/11, allocations: 4.765 MB / 3.876 GB, free: 74.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.347e-06/11, allocations: 9.406 kB / 3.877 GB, free: 74.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/11.01, allocations: 2.099 MB / 3.879 GB, free: 73.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/11.01, allocations: 311.2 kB / 3.879 GB, free: 73.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/11.01, allocations: 29.41 kB / 3.879 GB, free: 73.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/11.01, allocations: 85.3 kB / 3.879 GB, free: 73.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/11.01, allocations: 74.77 kB / 3.879 GB, free: 73.53 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.164e-05/11.01, allocations: 36.73 kB / 3.879 GB, free: 73.53 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00152/11.01, allocations: 0.8184 MB / 3.88 GB, free: 73.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.21e-07/11.01, allocations: 0 / 3.88 GB, free: 73.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003307/11.02, allocations: 0.6369 MB / 3.88 GB, free: 73.41 MB / 0.7136 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.008086/11.02, allocations: 6.529 MB / 3.887 GB, free: 69.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002205/11.03, allocations: 1.237 MB / 3.888 GB, free: 69.29 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/11.03, allocations: 3.562 kB / 3.888 GB, free: 69.29 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009257/11.03, allocations: 0.7762 MB / 3.889 GB, free: 68.96 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004716/11.03, allocations: 0.8478 MB / 3.89 GB, free: 68.94 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005743/11.04, allocations: 2.645 MB / 3.892 GB, free: 68.18 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/11.04, allocations: 1.391 MB / 3.894 GB, free: 67.46 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001848/11.04, allocations: 356 kB / 3.894 GB, free: 67.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007876/11.04, allocations: 0.5509 MB / 3.894 GB, free: 67.44 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/11.04, allocations: 2.031 kB / 3.894 GB, free: 67.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/11.19, allocations: 83.42 MB / 3.976 GB, free: 65.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/11.19, allocations: 195.2 kB / 3.976 GB, free: 64.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.148/16.34, allocations: 0 / 3.976 GB, free: 64.84 MB / 0.7136 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)