Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.001641/0.001641, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002188/0.002188, allocations: 215 kB / 20.13 MB, free: 2.949 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8859/0.8859, allocations: 133.9 MB / 443.5 MB, free: 13.84 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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",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.001923/0.001923, allocations: 62.86 kB / 0.6142 GB, free: 38.24 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1439, allocations: 85.86 MB / 0.698 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01668/0.1606, allocations: 13.14 MB / 0.7108 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003166/0.1638, allocations: 2.66 MB / 0.7134 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.672e-05/0.1638, allocations: 0 / 0.7134 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002569/0.1641, allocations: 43.69 kB / 0.7135 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.1644, allocations: 111.3 kB / 0.7136 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.1656, allocations: 0.5117 MB / 0.7141 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.1659, allocations: 231.9 kB / 0.7143 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.717e-05/0.1659, allocations: 13.55 kB / 0.7143 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008074/0.174, allocations: 3.601 MB / 0.7178 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.1742, allocations: 95.58 kB / 0.7179 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.1743, allocations: 12 kB / 0.7179 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.1769, allocations: 1.106 MB / 0.719 GB, free: 9.301 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.177, allocations: 47.77 kB / 0.7191 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.797e-05/0.1771, allocations: 75.66 kB / 0.7191 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000715/0.1778, allocations: 378.8 kB / 0.7195 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1778, allocations: 4 kB / 0.7195 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.502e-06/0.1778, allocations: 0 / 0.7195 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.1778, allocations: 0 / 0.7195 GB, free: 8.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.0008403/0.1787, allocations: 0.5103 MB / 0.72 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1787, allocations: 9.703 kB / 0.72 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.51e-05/0.1787, allocations: 8.516 kB / 0.72 GB, free: 8.23 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.1788, allocations: 54.67 kB / 0.7201 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.179, allocations: 24.83 kB / 0.7201 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.1792, allocations: 220.1 kB / 0.7203 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/0.1793, allocations: 12.7 kB / 0.7203 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1793, allocations: 20.12 kB / 0.7203 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000393/0.1797, allocations: 240.8 kB / 0.7206 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1797, allocations: 3.938 kB / 0.7206 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.1797, allocations: 12 kB / 0.7206 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.781e-05/0.1797, allocations: 11.98 kB / 0.7206 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.1803, allocations: 423.5 kB / 0.721 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.1815, allocations: 0.9606 MB / 0.7219 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.1818, allocations: 147 kB / 0.7221 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.1819, allocations: 56.88 kB / 0.7221 GB, free: 5.902 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.1833, allocations: 1.829 MB / 0.7239 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.1834, allocations: 38.56 kB / 0.724 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.1834, allocations: 4 kB / 0.724 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=15): time 0.0003425/0.1837, allocations: 149.4 kB / 0.7241 GB, free: 3.512 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.1837, allocations: 55.41 kB / 0.7242 GB, free: 3.445 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1839, allocations: 173.3 kB / 0.7243 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.1839, allocations: 29.7 kB / 0.7243 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.828e-05/0.184, allocations: 140.1 kB / 0.7245 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.1841, allocations: 59.52 kB / 0.7245 GB, free: 3.031 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.1841, allocations: 57.66 kB / 0.7246 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1843, allocations: 326.8 kB / 0.7249 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.1844, allocations: 35.97 kB / 0.7249 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1845, allocations: 142.7 kB / 0.7251 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.1848, allocations: 211.7 kB / 0.7253 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1848, allocations: 0 / 0.7253 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003365/0.1851, allocations: 205.7 kB / 0.7255 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.1851, allocations: 4 kB / 0.7255 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.1851, allocations: 4 kB / 0.7255 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.1852, allocations: 7.938 kB / 0.7255 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1853, allocations: 59.91 kB / 0.7255 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.776e-05/0.1853, allocations: 7.938 kB / 0.7256 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.1855, allocations: 31.73 kB / 0.7256 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1855, allocations: 19.94 kB / 0.7256 GB, free: 1.824 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.0001257/0.1856, allocations: 129.8 kB / 0.7257 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.1857, allocations: 15.95 kB / 0.7257 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003297/0.186, allocations: 169.1 kB / 0.7259 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.186, allocations: 0 / 0.7259 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.186, allocations: 0 / 0.7259 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.186, allocations: 0 / 0.7259 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002681/0.1863, allocations: 213.6 kB / 0.7261 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1863, allocations: 4 kB / 0.7261 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.835e-05/0.1864, allocations: 23.94 kB / 0.7261 GB, free: 1.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.1864, allocations: 7.984 kB / 0.7261 GB, free: 1.215 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1864, allocations: 3.938 kB / 0.7261 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1864, allocations: 7.984 kB / 0.7261 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1864, allocations: 3.938 kB / 0.7262 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.1867, allocations: 223.2 kB / 0.7264 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1868, allocations: 109 kB / 0.7265 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.574e-05/0.1868, allocations: 7.938 kB / 0.7265 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/0.187, allocations: 11.98 kB / 0.7265 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.187, allocations: 15.92 kB / 0.7265 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.187, allocations: 12 kB / 0.7265 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001034/0.1871, allocations: 122.5 kB / 0.7266 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1871, allocations: 0 / 0.7266 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003996/0.1875, allocations: 87.8 kB / 0.7267 GB, free: 0.5898 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.0009669/0.1885, allocations: 0.8398 MB / 0.7275 GB, free: 15.72 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1888, allocations: 108.6 kB / 0.7276 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1888, allocations: 8 kB / 0.7276 GB, free: 15.61 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.069e-05/0.1888, allocations: 43.92 kB / 0.7277 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00045/0.1893, allocations: 49.22 kB / 0.7277 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.1917, allocations: 2.045 MB / 0.7297 GB, free: 13.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003645/0.192, allocations: 0.7168 MB / 0.7304 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.1922, allocations: 55.75 kB / 0.7305 GB, free: 12.52 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.982e-05/0.1923, allocations: 47.42 kB / 0.7305 GB, free: 12.47 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.1923, allocations: 0 / 0.7305 GB, free: 12.47 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02551/0.2178, allocations: 5.584 MB / 0.736 GB, free: 7.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.483, allocations: 4.766 kB / 0.736 GB, free: 7.086 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.270879203977529] Failed to read output from testmodel.py, exit status != 0: 8.88011126901256 8.637714336 8.454857653 Calling exit ...