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.001659/0.001659, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.002041/0.002041, allocations: 220 kB / 23.04 MB, free: 5.078 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.8453/0.8453, allocations: 134 MB / 447.2 MB, free: 10.28 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.001994/0.001994, allocations: 65.64 kB / 0.6194 GB, free: 7.246 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1894, allocations: 85.9 MB / 0.7032 GB, free: 1.414 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.006645/0.196, allocations: 4.843 MB / 0.708 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003168/0.1992, allocations: 2.734 MB / 0.7106 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.1993, allocations: 0 / 0.7106 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.1996, allocations: 51.66 kB / 0.7107 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1999, allocations: 95.38 kB / 0.7108 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.2011, allocations: 0.5264 MB / 0.7113 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002927/0.2014, allocations: 239.9 kB / 0.7115 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.803e-05/0.2015, allocations: 9.734 kB / 0.7115 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.2017, allocations: 119.5 kB / 0.7116 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2018, allocations: 91.66 kB / 0.7117 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.2018, allocations: 12 kB / 0.7117 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000731/0.2026, allocations: 391.3 kB / 0.7121 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.422e-05/0.2026, allocations: 35.89 kB / 0.7122 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.969e-05/0.2027, allocations: 83.64 kB / 0.7122 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.2033, allocations: 371 kB / 0.7126 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2033, allocations: 0 / 0.7126 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2033, allocations: 0 / 0.7126 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.2033, allocations: 0 / 0.7126 GB, free: 7.805 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.0007538/0.2041, allocations: 451.6 kB / 0.713 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2041, allocations: 12.03 kB / 0.713 GB, free: 7.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.72e-05/0.2041, allocations: 12.45 kB / 0.713 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.2042, allocations: 50.73 kB / 0.7131 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.2043, allocations: 24.84 kB / 0.7131 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.2046, allocations: 158.3 kB / 0.7133 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2046, allocations: 8.703 kB / 0.7133 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.2047, allocations: 20.12 kB / 0.7133 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.205, allocations: 252.1 kB / 0.7135 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2051, allocations: 0 / 0.7135 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.2051, allocations: 8 kB / 0.7135 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.2051, allocations: 7.984 kB / 0.7135 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.2056, allocations: 444.1 kB / 0.714 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.2069, allocations: 0.9284 MB / 0.7149 GB, free: 5.293 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002745/0.2072, allocations: 145 kB / 0.715 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.2073, allocations: 60.88 kB / 0.7151 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007546/0.208, allocations: 467.9 kB / 0.7155 GB, free: 4.605 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.2081, allocations: 38.5 kB / 0.7156 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.2081, allocations: 0 / 0.7156 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003344/0.2084, allocations: 149.4 kB / 0.7157 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.07e-05/0.2084, allocations: 55.41 kB / 0.7158 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2086, allocations: 175.2 kB / 0.7159 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.2086, allocations: 29.7 kB / 0.7159 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.2087, allocations: 144 kB / 0.7161 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.253e-05/0.2087, allocations: 51.59 kB / 0.7161 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.592e-05/0.2088, allocations: 49.7 kB / 0.7162 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.209, allocations: 322.8 kB / 0.7165 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.209, allocations: 39.97 kB / 0.7165 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.2092, allocations: 141.6 kB / 0.7167 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.2094, allocations: 200.1 kB / 0.7169 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2094, allocations: 4 kB / 0.7169 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003278/0.2098, allocations: 213.2 kB / 0.7171 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2098, allocations: 8 kB / 0.7171 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2098, allocations: 4 kB / 0.7171 GB, free: 2.844 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2098, allocations: 7.938 kB / 0.7171 GB, free: 2.836 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.21, allocations: 60.36 kB / 0.7171 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.21, allocations: 12 kB / 0.7171 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.2101, allocations: 27.78 kB / 0.7172 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.2101, allocations: 8 kB / 0.7172 GB, free: 2.73 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.0001186/0.2102, allocations: 141.7 kB / 0.7173 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.082e-05/0.2103, allocations: 19.84 kB / 0.7173 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.2106, allocations: 161.1 kB / 0.7175 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.2106, allocations: 4 kB / 0.7175 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2106, allocations: 0 / 0.7175 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2106, allocations: 0 / 0.7175 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.2108, allocations: 188.7 kB / 0.7177 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2108, allocations: 0 / 0.7177 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.2109, allocations: 23.98 kB / 0.7177 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2109, allocations: 3.938 kB / 0.7177 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.211, allocations: 15.94 kB / 0.7177 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.211, allocations: 0 / 0.7177 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.211, allocations: 0 / 0.7177 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.2112, allocations: 215.4 kB / 0.7179 GB, free: 1.902 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.2113, allocations: 43.8 kB / 0.718 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.2113, allocations: 3.938 kB / 0.718 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.2115, allocations: 15.98 kB / 0.718 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.2115, allocations: 7.984 kB / 0.718 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.418e-05/0.2116, allocations: 15.98 kB / 0.718 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.637e-05/0.2117, allocations: 128.9 kB / 0.7181 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2117, allocations: 0 / 0.7181 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003794/0.212, allocations: 71.88 kB / 0.7182 GB, free: 1.621 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.0007699/0.2128, allocations: 0.8356 MB / 0.719 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.213, allocations: 119.7 kB / 0.7191 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.213, allocations: 0 / 0.7191 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.2131, allocations: 43.92 kB / 0.7192 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.2136, allocations: 54.97 kB / 0.7192 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.216, allocations: 2.045 MB / 0.7212 GB, free: 14.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.2164, allocations: 0.7206 MB / 0.7219 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.2166, allocations: 41.91 kB / 0.722 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.2166, allocations: 47.42 kB / 0.722 GB, free: 13.51 MB / 0.545 GB Notification: Performance of SimCode: time 4.91e-07/0.2166, allocations: 0 / 0.722 GB, free: 13.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.2437, allocations: 5.574 MB / 0.7275 GB, free: 8.109 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.77, allocations: 19.33 kB / 0.7275 GB, free: 8.098 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.549932291032746] Failed to read output from testmodel.py, exit status != 0: 11.939642198965885 11.967154029 11.758968624 Calling exit ...