Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 97.92 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 220.3 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8887/0.8887, allocations: 134 MB / 447.2 MB, free: 9.973 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 62.45 kB / 0.6193 GB, free: 6.996 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 85.92 MB / 0.7032 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.008163/0.1908, allocations: 4.507 MB / 0.7076 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003538/0.1943, allocations: 2.449 MB / 0.71 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001771/0.1945, allocations: 0 / 0.71 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.1948, allocations: 47.67 kB / 0.71 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000445/0.1953, allocations: 91.42 kB / 0.7101 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.197, allocations: 0.5249 MB / 0.7106 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000384/0.1974, allocations: 239.9 kB / 0.7109 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.602e-05/0.1974, allocations: 9.75 kB / 0.7109 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002635/0.1977, allocations: 119.5 kB / 0.711 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.1979, allocations: 91.59 kB / 0.7111 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.66e-05/0.1979, allocations: 8 kB / 0.7111 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007623/0.1987, allocations: 327.4 kB / 0.7114 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.775e-05/0.1988, allocations: 35.89 kB / 0.7114 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1989, allocations: 75.7 kB / 0.7115 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.1997, allocations: 355.1 kB / 0.7118 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1997, allocations: 0 / 0.7118 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1997, allocations: 0 / 0.7118 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.1997, allocations: 0 / 0.7118 GB, free: 8.27 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008781/0.2006, allocations: 449.4 kB / 0.7123 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.2006, allocations: 15.97 kB / 0.7123 GB, free: 7.781 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.099e-05/0.2006, allocations: 8.453 kB / 0.7123 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.769e-05/0.2007, allocations: 54.73 kB / 0.7123 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.2009, allocations: 20.84 kB / 0.7124 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000363/0.2012, allocations: 150.4 kB / 0.7125 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.2012, allocations: 12.7 kB / 0.7125 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.2013, allocations: 20.12 kB / 0.7125 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000561/0.2018, allocations: 479.5 kB / 0.713 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2018, allocations: 7.938 kB / 0.713 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2019, allocations: 4 kB / 0.713 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.744e-05/0.2019, allocations: 8 kB / 0.713 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00056/0.2025, allocations: 448.1 kB / 0.7134 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.2037, allocations: 0.8125 MB / 0.7142 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003402/0.204, allocations: 147.2 kB / 0.7144 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2041, allocations: 52.89 kB / 0.7144 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008043/0.2049, allocations: 455.8 kB / 0.7148 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/0.2049, allocations: 34.56 kB / 0.7149 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.2049, allocations: 4 kB / 0.7149 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003761/0.2053, allocations: 152 kB / 0.715 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.2054, allocations: 59.34 kB / 0.7151 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.2055, allocations: 171.2 kB / 0.7152 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/0.2056, allocations: 29.7 kB / 0.7153 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.609e-05/0.2057, allocations: 144.1 kB / 0.7154 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.2057, allocations: 55.58 kB / 0.7155 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-05/0.2058, allocations: 45.7 kB / 0.7155 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2059, allocations: 326.8 kB / 0.7158 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.206, allocations: 35.98 kB / 0.7159 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.2062, allocations: 137.7 kB / 0.716 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.2064, allocations: 205.4 kB / 0.7162 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2064, allocations: 0 / 0.7162 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003633/0.2068, allocations: 215.7 kB / 0.7164 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.2068, allocations: 7.938 kB / 0.7164 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.2068, allocations: 4 kB / 0.7164 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.2069, allocations: 11.94 kB / 0.7164 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.2071, allocations: 59.91 kB / 0.7165 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2071, allocations: 7.938 kB / 0.7165 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2072, allocations: 27.78 kB / 0.7165 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.2072, allocations: 16 kB / 0.7165 GB, free: 3.062 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000131/0.2073, allocations: 137.6 kB / 0.7167 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.874e-05/0.2074, allocations: 20 kB / 0.7167 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003298/0.2077, allocations: 166.8 kB / 0.7168 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.2077, allocations: 0 / 0.7168 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.2077, allocations: 4 kB / 0.7168 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.2077, allocations: 3.984 kB / 0.7168 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.208, allocations: 168.7 kB / 0.717 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.208, allocations: 0 / 0.717 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.2081, allocations: 35.92 kB / 0.717 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.2081, allocations: 0 / 0.717 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.2081, allocations: 3.938 kB / 0.717 GB, free: 2.477 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.2081, allocations: 4 kB / 0.717 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2081, allocations: 4 kB / 0.717 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.2084, allocations: 221.5 kB / 0.7173 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.564e-05/0.2085, allocations: 35.81 kB / 0.7173 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.2085, allocations: 7.938 kB / 0.7173 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.2087, allocations: 15.92 kB / 0.7173 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.586e-05/0.2087, allocations: 11.98 kB / 0.7173 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.2088, allocations: 15.98 kB / 0.7173 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.486e-05/0.2089, allocations: 120.9 kB / 0.7175 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2089, allocations: 0 / 0.7175 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000409/0.2093, allocations: 79.86 kB / 0.7175 GB, free: 1.957 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008116/0.2101, allocations: 0.8292 MB / 0.7183 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000254/0.2103, allocations: 115 kB / 0.7184 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2103, allocations: 4 kB / 0.7185 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.886e-05/0.2104, allocations: 39.92 kB / 0.7185 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004515/0.2109, allocations: 63.81 kB / 0.7186 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002583/0.2134, allocations: 2.039 MB / 0.7205 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.2135, allocations: 103.2 kB / 0.7206 GB, free: 14.55 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.2137, allocations: 45.89 kB / 0.7207 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.359e-05/0.2138, allocations: 47.42 kB / 0.7207 GB, free: 14.46 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.2138, allocations: 0 / 0.7207 GB, free: 14.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02933/0.2431, allocations: 5.793 MB / 0.7264 GB, free: 8.891 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.84, allocations: 20.86 kB / 0.7264 GB, free: 8.879 MB / 0.545 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.722509618964978] Failed to read output from testmodel.py, exit status != 0: 12.004675676929764 12.031429078 11.826577784 Calling exit ...