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.001755/0.001755, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002229/0.002229, allocations: 214 kB / 22.26 MB, free: 5.082 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.546/1.546, allocations: 230.6 MB / 256 MB, free: 7.996 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.9099/0.9099, allocations: 134 MB / 446.4 MB, free: 10.21 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",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.002018/0.002018, allocations: 65.09 kB / 0.6186 GB, free: 7.152 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1971, allocations: 85.91 MB / 0.7025 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.007294/0.2044, allocations: 4.847 MB / 0.7072 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.2076, allocations: 2.737 MB / 0.7099 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001023/0.2078, allocations: 0 / 0.7099 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.2081, allocations: 47.67 kB / 0.7099 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.2084, allocations: 99.36 kB / 0.71 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.2097, allocations: 0.5262 MB / 0.7105 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002959/0.21, allocations: 235.9 kB / 0.7108 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.2101, allocations: 9.75 kB / 0.7108 GB, free: 8.797 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.2103, allocations: 123.5 kB / 0.7109 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001574/0.2104, allocations: 87.66 kB / 0.711 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.2105, allocations: 8 kB / 0.711 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007278/0.2112, allocations: 395.3 kB / 0.7114 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.2113, allocations: 43.89 kB / 0.7114 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.96e-05/0.2114, allocations: 79.64 kB / 0.7115 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006664/0.212, allocations: 375 kB / 0.7118 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.212, allocations: 0 / 0.7118 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.212, allocations: 0 / 0.7118 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.212, allocations: 0 / 0.7118 GB, free: 7.707 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.0008386/0.2129, allocations: 453.4 kB / 0.7123 GB, free: 7.23 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2129, allocations: 8.031 kB / 0.7123 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.066e-05/0.213, allocations: 46.73 kB / 0.7123 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.2131, allocations: 28.84 kB / 0.7123 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003004/0.2134, allocations: 150.4 kB / 0.7125 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.2134, allocations: 12.7 kB / 0.7125 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.2135, allocations: 12.38 kB / 0.7125 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000403/0.2139, allocations: 256 kB / 0.7128 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2139, allocations: 0 / 0.7128 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.517e-05/0.2139, allocations: 15.98 kB / 0.7128 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/0.2139, allocations: 4 kB / 0.7128 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005266/0.2145, allocations: 448.1 kB / 0.7132 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.2157, allocations: 0.9245 MB / 0.7141 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.2159, allocations: 146.8 kB / 0.7142 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.983e-05/0.216, allocations: 52.88 kB / 0.7143 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007252/0.2168, allocations: 471.9 kB / 0.7147 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.2168, allocations: 42.44 kB / 0.7148 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.2168, allocations: 0 / 0.7148 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003388/0.2171, allocations: 151.5 kB / 0.7149 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.2172, allocations: 59.41 kB / 0.715 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.2173, allocations: 163.2 kB / 0.7151 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.2174, allocations: 33.7 kB / 0.7152 GB, free: 4.035 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 9.15e-05/0.2174, allocations: 148 kB / 0.7153 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.2175, allocations: 51.59 kB / 0.7154 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.786e-05/0.2176, allocations: 49.7 kB / 0.7154 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2177, allocations: 322.8 kB / 0.7157 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.2178, allocations: 39.97 kB / 0.7158 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.2179, allocations: 141.7 kB / 0.7159 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002471/0.2182, allocations: 201.4 kB / 0.7161 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2182, allocations: 0 / 0.7161 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003328/0.2185, allocations: 220.4 kB / 0.7163 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2185, allocations: 8 kB / 0.7163 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.2185, allocations: 4 kB / 0.7163 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.2186, allocations: 7.938 kB / 0.7163 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.2188, allocations: 51.91 kB / 0.7164 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.2188, allocations: 4 kB / 0.7164 GB, free: 2.691 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.2189, allocations: 27.78 kB / 0.7164 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.928e-05/0.2189, allocations: 19.98 kB / 0.7164 GB, free: 2.645 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.0001218/0.219, allocations: 137.9 kB / 0.7165 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.2191, allocations: 19.91 kB / 0.7166 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.2194, allocations: 162.9 kB / 0.7167 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.2194, allocations: 7.938 kB / 0.7167 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2194, allocations: 4 kB / 0.7167 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2194, allocations: 0 / 0.7167 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.2196, allocations: 184.7 kB / 0.7169 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2196, allocations: 0 / 0.7169 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-05/0.2197, allocations: 24 kB / 0.7169 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.2197, allocations: 0 / 0.7169 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.2197, allocations: 15.92 kB / 0.7169 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2197, allocations: 3.938 kB / 0.717 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2197, allocations: 3.938 kB / 0.717 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.22, allocations: 215.4 kB / 0.7172 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-05/0.2201, allocations: 35.81 kB / 0.7172 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.2201, allocations: 7.984 kB / 0.7172 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.2203, allocations: 11.94 kB / 0.7172 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.2203, allocations: 19.97 kB / 0.7172 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2203, allocations: 8 kB / 0.7172 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 8.958e-05/0.2204, allocations: 120.9 kB / 0.7174 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2204, allocations: 0 / 0.7174 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003733/0.2208, allocations: 79.86 kB / 0.7174 GB, free: 1.531 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.0007391/0.2215, allocations: 0.8314 MB / 0.7182 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.2218, allocations: 112.5 kB / 0.7184 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2218, allocations: 192 / 0.7184 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.791e-05/0.2219, allocations: 51.91 kB / 0.7184 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004271/0.2224, allocations: 60.7 kB / 0.7185 GB, free: 472 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.2246, allocations: 2.039 MB / 0.7205 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003533/0.225, allocations: 0.7206 MB / 0.7212 GB, free: 13.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001812/0.2252, allocations: 49.84 kB / 0.7212 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.747e-05/0.2253, allocations: 43.42 kB / 0.7212 GB, free: 13.42 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.2253, allocations: 0 / 0.7212 GB, free: 13.42 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03426/0.2595, allocations: 5.549 MB / 0.7267 GB, free: 8.035 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.31, allocations: 10.06 kB / 0.7267 GB, free: 8.027 MB / 0.545 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.279309478995856] Failed to read output from testmodel.py, exit status != 0: 11.411638937002863 11.43029713 11.21471368 Calling exit ...