Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.001174/0.001174, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001282/0.001282, allocations: 218.6 kB / 22.92 MB, free: 5.559 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.269/1.269, allocations: 230.5 MB / 256.4 MB, free: 8.305 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.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001786/0.001786, allocations: 67.89 kB / 376.1 MB, free: 4.211 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2068, allocations: 53.32 MB / 429.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004382/0.2111, allocations: 3.536 MB / 432.9 MB, free: 3.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.2126, allocations: 0.9813 MB / 433.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.2128, allocations: 11.94 kB / 433.9 MB, free: 2.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.213, allocations: 99.12 kB / 434 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003298/0.2134, allocations: 194.4 kB / 434.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002346/0.2136, allocations: 119.8 kB / 434.3 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006619/0.2143, allocations: 0.6419 MB / 435 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002226/0.2145, allocations: 134.7 kB / 435.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.2147, allocations: 239.2 kB / 435.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003521/0.2151, allocations: 274.8 kB / 435.6 MB, free: 1.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.482e-05/0.2152, allocations: 52 kB / 435.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.2153, allocations: 56 kB / 435.7 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2154, allocations: 123.5 kB / 435.8 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002684/0.2156, allocations: 294.6 kB / 436.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006453/0.2163, allocations: 0.6503 MB / 436.8 MB, free: 68 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2163, allocations: 0 / 436.8 MB, free: 68 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2163, allocations: 0 / 436.8 MB, free: 68 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.2163, allocations: 0 / 436.8 MB, free: 68 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001401/0.2177, allocations: 0.8544 MB / 437.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2177, allocations: 12.03 kB / 437.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000143/0.2179, allocations: 79.66 kB / 437.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.218, allocations: 60.61 kB / 437.8 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.2185, allocations: 403.3 kB / 438.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.2186, allocations: 59.27 kB / 438.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.2187, allocations: 36.36 kB / 438.3 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007061/0.2194, allocations: 477.3 kB / 438.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.2194, allocations: 0 / 438.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.2195, allocations: 16 kB / 438.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.2195, allocations: 8 kB / 438.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.22, allocations: 287.8 kB / 439 MB, free: 13.64 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.001961/0.222, allocations: 1.308 MB / 440.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/0.2231, allocations: 412.5 kB / 440.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.2234, allocations: 132.8 kB / 440.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.2234, allocations: 8 kB / 440.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.2234, allocations: 38.56 kB / 440.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 1.283e-06/0.2234, allocations: 0 / 440.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001194/0.2246, allocations: 0.6103 MB / 441.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002459/0.2248, allocations: 448.9 kB / 442 MB, free: 10.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004996/0.2253, allocations: 449.9 kB / 442.4 MB, free: 9.965 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.2254, allocations: 37.69 kB / 442.4 MB, free: 9.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.2256, allocations: 232.7 kB / 442.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2257, allocations: 119 kB / 442.8 MB, free: 9.574 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.2258, allocations: 78.02 kB / 442.9 MB, free: 9.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.226, allocations: 354.8 kB / 443.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.2262, allocations: 108.6 kB / 443.3 MB, free: 9.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.2266, allocations: 248.2 kB / 443.6 MB, free: 8.734 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.227, allocations: 281.2 kB / 443.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.227, allocations: 0 / 443.8 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000715/0.2277, allocations: 424.7 kB / 444.2 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.797e-05/0.2278, allocations: 37.62 kB / 444.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2278, allocations: 0 / 444.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001522/0.2279, allocations: 53.64 kB / 444.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003006/0.2282, allocations: 67.89 kB / 444.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.2309, allocations: 2.962 MB / 447.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003386/0.2313, allocations: 47.77 kB / 447.4 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.2313, allocations: 11.98 kB / 447.4 MB, free: 4.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002044/0.2315, allocations: 173.8 kB / 447.6 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.408e-05/0.2316, allocations: 51.67 kB / 447.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.2317, allocations: 56.62 kB / 447.7 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.2317, allocations: 4 kB / 447.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2317, allocations: 0 / 447.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007098/0.2324, allocations: 0.6414 MB / 448.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.2337, allocations: 0.9088 MB / 449.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2337, allocations: 4 kB / 449.3 MB, free: 2.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.234, allocations: 75.83 kB / 449.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.234, allocations: 0 / 449.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.234, allocations: 4 kB / 449.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.2341, allocations: 8 kB / 449.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2341, allocations: 0 / 449.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007964/0.2348, allocations: 0.5202 MB / 449.9 MB, free: 1.918 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.235, allocations: 160.9 kB / 450 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.564e-05/0.2351, allocations: 8 kB / 450 MB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000293/0.2354, allocations: 19.98 kB / 450 MB, free: 1.715 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.2354, allocations: 23.89 kB / 450.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2354, allocations: 12 kB / 450.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003548/0.2358, allocations: 323.2 kB / 450.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2358, allocations: 0 / 450.4 MB, free: 1.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.2362, allocations: 135.9 kB / 450.5 MB, free: 1.23 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * 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.0011/0.2373, allocations: 1.076 MB / 451.6 MB, free: 132 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008818/0.2382, allocations: 0.5399 MB / 452.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2382, allocations: 4 kB / 452.1 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.2384, allocations: 119.8 kB / 452.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005971/0.239, allocations: 133.8 kB / 452.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005556/0.2446, allocations: 4.256 MB / 456.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.245, allocations: 0.8198 MB / 457.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002092/0.2452, allocations: 60.36 kB / 457.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/0.2454, allocations: 167.3 kB / 457.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2454, allocations: 0 / 457.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04127/0.2867, allocations: 12.82 MB / 470.5 MB, free: 13.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.11, allocations: 7.25 kB / 470.5 MB, free: 13.3 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.113126347998332]