Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.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.001207/0.001207, allocations: 106.5 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.001347/0.001347, allocations: 218.5 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.278/1.278, allocations: 230.5 MB / 256.4 MB, free: 8.441 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.TestCylinder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder",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.001755/0.001755, allocations: 67.89 kB / 376.1 MB, free: 4.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2121, allocations: 53.32 MB / 429.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder): time 0.00422/0.2164, allocations: 3.061 MB / 432.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.2186, allocations: 1.434 MB / 433.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.2188, allocations: 8 kB / 433.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.2192, allocations: 135.1 kB / 434 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005315/0.2197, allocations: 218.7 kB / 434.2 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.2201, allocations: 143.6 kB / 434.4 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005014/0.2206, allocations: 442.1 kB / 434.8 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.2207, allocations: 75.8 kB / 434.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002136/0.2209, allocations: 175.3 kB / 435.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.2212, allocations: 195.1 kB / 435.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.749e-05/0.2213, allocations: 28 kB / 435.3 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.2214, allocations: 56 kB / 435.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.2215, allocations: 87.61 kB / 435.4 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.2217, allocations: 183 kB / 435.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.2222, allocations: 466.4 kB / 436 MB, free: 0.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2222, allocations: 4 kB / 436 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2222, allocations: 0 / 436 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.2222, allocations: 3.938 kB / 436.1 MB, free: 0.7852 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0009852/0.2232, allocations: 0.6864 MB / 436.7 MB, free: 48 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2232, allocations: 8.031 kB / 436.7 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001284/0.2233, allocations: 75.23 kB / 436.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.385e-05/0.2234, allocations: 44.66 kB / 436.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004519/0.2239, allocations: 332.7 kB / 437.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.2239, allocations: 20.94 kB / 437.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.003e-05/0.224, allocations: 31.94 kB / 437.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.2245, allocations: 307.1 kB / 437.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.2245, allocations: 7.953 kB / 437.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.2245, allocations: 8 kB / 437.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2245, allocations: 11.94 kB / 437.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.2248, allocations: 186.1 kB / 437.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.2261, allocations: 0.8679 MB / 438.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005061/0.2266, allocations: 239.4 kB / 438.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001615/0.2268, allocations: 93.38 kB / 438.9 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.2268, allocations: 16.22 kB / 439 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002796/0.2271, allocations: 158.6 kB / 439.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.552e-06/0.2271, allocations: 0 / 439.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002211/0.2293, allocations: 1.316 MB / 440.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2294, allocations: 187.9 kB / 440.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.2298, allocations: 332.6 kB / 440.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.2298, allocations: 33.7 kB / 441 MB, free: 11.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.2299, allocations: 196.7 kB / 441.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.2301, allocations: 146.8 kB / 441.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.2302, allocations: 78.14 kB / 441.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2303, allocations: 350.7 kB / 441.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.2305, allocations: 92.83 kB / 441.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002401/0.2307, allocations: 177.2 kB / 442 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.2311, allocations: 254.3 kB / 442.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.2311, allocations: 4 kB / 442.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005344/0.2316, allocations: 350.8 kB / 442.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2317, allocations: 8 kB / 442.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.2317, allocations: 3.984 kB / 442.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.777e-05/0.2317, allocations: 16.86 kB / 442.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.2321, allocations: 87.89 kB / 442.7 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/0.2331, allocations: 1.39 MB / 444.1 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2333, allocations: 8 kB / 444.1 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.2333, allocations: 16 kB / 444.1 MB, free: 8.133 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.2335, allocations: 176.9 kB / 444.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.2e-05/0.2336, allocations: 51.62 kB / 444.3 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000556/0.2341, allocations: 334.5 kB / 444.7 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2341, allocations: 4 kB / 444.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.2341, allocations: 0 / 444.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006181/0.2348, allocations: 0.6531 MB / 445.3 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.2359, allocations: 0.8621 MB / 446.2 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2359, allocations: 3.984 kB / 446.2 MB, free: 5.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.2362, allocations: 75.91 kB / 446.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.2362, allocations: 4 kB / 446.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2362, allocations: 8 kB / 446.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2362, allocations: 4 kB / 446.3 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2362, allocations: 4.125 kB / 446.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007318/0.2369, allocations: 0.551 MB / 446.8 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.2371, allocations: 137 kB / 447 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.2371, allocations: 20 kB / 447 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.2373, allocations: 15.98 kB / 447 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.2374, allocations: 27.91 kB / 447 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.2374, allocations: 12 kB / 447 MB, free: 4.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.2377, allocations: 243 kB / 447.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2377, allocations: 0 / 447.3 MB, free: 4.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000374/0.2381, allocations: 95.94 kB / 447.4 MB, free: 4.633 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (cylinder1.m,cylinder1.H,cylinder2.H,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002289/0.2403, allocations: 1.393 MB / 448.8 MB, free: 3.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005919/0.2409, allocations: 366.1 kB / 449.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2409, allocations: 4 kB / 449.1 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.2411, allocations: 127.7 kB / 449.2 MB, free: 2.859 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/0.2417, allocations: 101.4 kB / 449.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004451/0.2461, allocations: 3.65 MB / 453 MB, free: 14.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2465, allocations: 0.8041 MB / 453.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.2467, allocations: 51.25 kB / 453.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.2469, allocations: 131.4 kB / 454 MB, free: 13.96 MB / 366.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2469, allocations: 0 / 454 MB, free: 13.96 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03645/0.2833, allocations: 9.454 MB / 463.4 MB, free: 4.648 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/10.99, allocations: 15.3 kB / 463.4 MB, free: 4.637 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestCylinder.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestCylinder.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.148237777997565]