Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.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.001191/0.001191, 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.001244/0.001244, allocations: 218.4 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.264/1.264, allocations: 230.5 MB / 256.4 MB, free: 8.43 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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol",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.001801/0.001801, allocations: 71.89 kB / 376.1 MB, free: 4.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2059, allocations: 53.33 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006451/0.2124, allocations: 4.982 MB / 434.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008224/0.2132, allocations: 0.6154 MB / 435 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.2133, allocations: 0 / 435 MB, free: 1.828 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.2135, allocations: 31.77 kB / 435 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.2147, allocations: 0.58 MB / 435.6 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002137/0.2149, allocations: 99.05 kB / 435.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.2151, allocations: 187.2 kB / 435.9 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.423e-05/0.2152, allocations: 8 kB / 435.9 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.2162, allocations: 0.6197 MB / 436.5 MB, free: 316 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.294e-05/0.2163, allocations: 55.77 kB / 436.6 MB, free: 260 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.779e-05/0.2163, allocations: 4 kB / 436.6 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.2177, allocations: 0.894 MB / 437.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.989e-05/0.2177, allocations: 23.86 kB / 437.5 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.353e-05/0.2178, allocations: 51.78 kB / 437.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003836/0.2181, allocations: 238.7 kB / 437.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2182, allocations: 0 / 437.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2182, allocations: 0 / 437.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2182, allocations: 7.938 kB / 437.8 MB, free: 15.04 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004842/0.2186, allocations: 422.8 kB / 438.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.2187, allocations: 12.03 kB / 438.2 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.306e-05/0.2187, allocations: 38.73 kB / 438.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003601/0.2191, allocations: 36.86 kB / 438.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.2193, allocations: 192.2 kB / 438.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.205e-06/0.2193, allocations: 8.125 kB / 438.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.2193, allocations: 12 kB / 438.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002196/0.2195, allocations: 148.9 kB / 438.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2196, allocations: 0 / 438.6 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.2196, allocations: 4 kB / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2196, allocations: 4 kB / 438.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.2197, allocations: 111.8 kB / 438.7 MB, free: 13.96 MB / 350.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.2204, allocations: 0.6568 MB / 439.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.2206, allocations: 78.48 kB / 439.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.2206, allocations: 36.84 kB / 439.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006081/0.2212, allocations: 0.8115 MB / 440.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2212, allocations: 38.56 kB / 440.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.2212, allocations: 0 / 440.4 MB, free: 12.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002687/0.2215, allocations: 129.8 kB / 440.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.2216, allocations: 55.41 kB / 440.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.2217, allocations: 121.7 kB / 440.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.2217, allocations: 25.7 kB / 440.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.2217, allocations: 107.9 kB / 440.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.2218, allocations: 39.64 kB / 440.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.2218, allocations: 45.67 kB / 440.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.222, allocations: 318.8 kB / 441.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.012e-05/0.222, allocations: 27.98 kB / 441.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.7e-05/0.2221, allocations: 69.19 kB / 441.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2222, allocations: 104.5 kB / 441.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2222, allocations: 0 / 441.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002098/0.2224, allocations: 137.5 kB / 441.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2224, allocations: 8.156 kB / 441.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2225, allocations: 0 / 441.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2225, allocations: 7.938 kB / 441.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.2226, allocations: 31.92 kB / 441.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2226, allocations: 4 kB / 441.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.709e-05/0.2226, allocations: 15.89 kB / 441.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.2227, allocations: 11.98 kB / 441.6 MB, free: 10.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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 9.241e-05/0.2228, allocations: 121.8 kB / 441.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.2228, allocations: 7.953 kB / 441.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002786/0.2231, allocations: 150.3 kB / 441.9 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.2231, allocations: 4 kB / 441.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2231, allocations: 0 / 441.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.2231, allocations: 0 / 441.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.2235, allocations: 394.3 kB / 442.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2235, allocations: 4 kB / 442.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.875e-05/0.2236, allocations: 27.98 kB / 442.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2236, allocations: 4 kB / 442.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.2236, allocations: 7.938 kB / 442.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2236, allocations: 0 / 442.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2236, allocations: 3.938 kB / 442.3 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.2238, allocations: 203.4 kB / 442.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.737e-05/0.2239, allocations: 93.05 kB / 442.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.2239, allocations: 0 / 442.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.911e-05/0.224, allocations: 7.984 kB / 442.6 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.001e-05/0.224, allocations: 12 kB / 442.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.224, allocations: 7.984 kB / 442.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.2241, allocations: 91.22 kB / 442.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2241, allocations: 0 / 442.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.2244, allocations: 67.8 kB / 442.8 MB, free: 9.438 MB / 350.1 MB 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 (13): * Single equations (assignments): 13 * 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.000625/0.225, allocations: 0.7931 MB / 443.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.2252, allocations: 83.89 kB / 443.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2252, allocations: 320 / 443.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.278e-05/0.2253, allocations: 43.92 kB / 443.7 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.2256, allocations: 31.97 kB / 443.7 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2271, allocations: 1.584 MB / 445.3 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002798/0.2274, allocations: 0.6966 MB / 446 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001098/0.2275, allocations: 41.12 kB / 446 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.022e-05/0.2276, allocations: 23.44 kB / 446.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2276, allocations: 0 / 446.1 MB, free: 5.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02458/0.2521, allocations: 3.852 MB / 449.9 MB, free: 2.242 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.09/7.342, allocations: 6.984 kB / 449.9 MB, free: 2.238 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.36962348799716]