Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001402/0.001402, allocations: 105.8 kB / 19.74 MB, free: 2.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001495/0.001495, allocations: 221.2 kB / 22.92 MB, free: 5.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.282/1.282, allocations: 230.5 MB / 256.4 MB, free: 8.445 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001758/0.001758, allocations: 63.89 kB / 376.1 MB, free: 4.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2036, allocations: 53.33 MB / 429.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005322/0.2089, allocations: 4.59 MB / 434 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.2107, allocations: 1.822 MB / 435.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.2108, allocations: 0 / 435.8 MB, free: 1.016 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002064/0.211, allocations: 51.66 kB / 435.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.2113, allocations: 111.3 kB / 436 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.2118, allocations: 258.2 kB / 436.2 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.2121, allocations: 294.9 kB / 436.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.2122, allocations: 9.078 kB / 436.5 MB, free: 320 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002338/0.2124, allocations: 135.5 kB / 436.6 MB, free: 184 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.2125, allocations: 87.61 kB / 436.7 MB, free: 96 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.08e-05/0.2126, allocations: 12 kB / 436.7 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.2128, allocations: 103.9 kB / 436.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.171e-05/0.2129, allocations: 39.89 kB / 436.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.375e-05/0.213, allocations: 79.58 kB / 436.9 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.2133, allocations: 219.7 kB / 437.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2133, allocations: 0 / 437.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2133, allocations: 0 / 437.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.2133, allocations: 0 / 437.2 MB, free: 15.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008948/0.2142, allocations: 0.495 MB / 437.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.2142, allocations: 8.031 kB / 437.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.34e-05/0.2143, allocations: 50.73 kB / 437.7 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.2145, allocations: 24.88 kB / 437.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.2147, allocations: 204.2 kB / 437.9 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.2147, allocations: 12.66 kB / 438 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.195e-05/0.2147, allocations: 12.38 kB / 438 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004088/0.2151, allocations: 221.4 kB / 438.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.2152, allocations: 0 / 438.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.571e-05/0.2152, allocations: 8 kB / 438.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2152, allocations: 0 / 438.2 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.2155, allocations: 151.8 kB / 438.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.2168, allocations: 0.9519 MB / 439.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003969/0.2172, allocations: 142.7 kB / 439.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.2174, allocations: 56.83 kB / 439.5 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005187/0.2179, allocations: 0.5032 MB / 440 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.2179, allocations: 38.56 kB / 440 MB, free: 12.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.2179, allocations: 0 / 440 MB, free: 12.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002456/0.2204, allocations: 0.7739 MB / 440.8 MB, free: 11.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.2204, allocations: 55.41 kB / 440.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2205, allocations: 161.8 kB / 441 MB, free: 11.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.2206, allocations: 33.7 kB / 441 MB, free: 11.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.076e-05/0.2206, allocations: 140.2 kB / 441.2 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.683e-05/0.2207, allocations: 79.38 kB / 441.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.951e-05/0.2208, allocations: 53.69 kB / 441.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2209, allocations: 330.8 kB / 441.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/0.2211, allocations: 83.94 kB / 441.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003068/0.2215, allocations: 193.5 kB / 441.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.222, allocations: 291.3 kB / 442.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.222, allocations: 0 / 442.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006667/0.2227, allocations: 326.2 kB / 442.5 MB, free: 9.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.2227, allocations: 4 kB / 442.5 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.2227, allocations: 7.938 kB / 442.5 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2227, allocations: 8 kB / 442.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003662/0.2231, allocations: 79.89 kB / 442.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2231, allocations: 4 kB / 442.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002151/0.2233, allocations: 15.98 kB / 442.6 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/0.2233, allocations: 19.98 kB / 442.6 MB, free: 9.699 MB / 350.1 MB 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 (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0001173/0.2235, allocations: 145.7 kB / 442.8 MB, free: 9.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.336e-05/0.2235, allocations: 15.91 kB / 442.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006165/0.2241, allocations: 234.7 kB / 443 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2241, allocations: 0 / 443 MB, free: 9.301 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.2241, allocations: 8 kB / 443 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.2241, allocations: 0 / 443 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.2253, allocations: 0.6062 MB / 443.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.2253, allocations: 3.938 kB / 443.6 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002847/0.2256, allocations: 51.89 kB / 443.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2256, allocations: 4 kB / 443.7 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.2256, allocations: 11.98 kB / 443.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2257, allocations: 0 / 443.7 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.2257, allocations: 7.922 kB / 443.7 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008086/0.2265, allocations: 406 kB / 444.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.948e-05/0.2266, allocations: 113 kB / 444.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.2266, allocations: 4 kB / 444.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.2268, allocations: 19.92 kB / 444.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.2268, allocations: 7.984 kB / 444.3 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.2269, allocations: 19.98 kB / 444.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.628e-05/0.227, allocations: 115.3 kB / 444.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.227, allocations: 0 / 444.4 MB, free: 7.828 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003471/0.2273, allocations: 63.94 kB / 444.5 MB, free: 7.766 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.001164/0.2285, allocations: 0.972 MB / 445.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005453/0.229, allocations: 196.5 kB / 445.6 MB, free: 6.562 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.229, allocations: 8.125 kB / 445.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.2292, allocations: 91.81 kB / 445.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.2296, allocations: 31.84 kB / 445.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.2329, allocations: 2.376 MB / 448.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.2332, allocations: 0.7128 MB / 448.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001951/0.2334, allocations: 49.88 kB / 448.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.2335, allocations: 43.42 kB / 448.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2335, allocations: 4 kB / 448.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02793/0.2614, allocations: 4.559 MB / 453.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.16/7.421, allocations: 9.969 kB / 453.5 MB, free: 14.55 MB / 366.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.45969640599651]