Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001399/0.001399, allocations: 105.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.001635/0.001635, allocations: 220.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.289/1.289, allocations: 230.5 MB / 256.4 MB, free: 8.422 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.OneMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001746/0.001746, allocations: 71.86 kB / 376.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2075, allocations: 53.3 MB / 429.4 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.00488/0.2123, allocations: 3.713 MB / 433.1 MB, free: 3.723 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.2142, allocations: 1.02 MB / 434.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003191/0.2145, allocations: 4 kB / 434.1 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003524/0.2149, allocations: 111 kB / 434.2 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005053/0.2154, allocations: 206.3 kB / 434.4 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.2157, allocations: 127.8 kB / 434.6 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007912/0.2165, allocations: 0.6847 MB / 435.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2167, allocations: 130.3 kB / 435.4 MB, free: 1.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.2169, allocations: 255.1 kB / 435.6 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003387/0.2173, allocations: 294.7 kB / 435.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.084e-05/0.2174, allocations: 60 kB / 436 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-05/0.2175, allocations: 60 kB / 436 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2176, allocations: 127.6 kB / 436.1 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.2179, allocations: 306.5 kB / 436.4 MB, free: 356 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000719/0.2186, allocations: 0.7047 MB / 437.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2186, allocations: 0 / 437.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.2186, allocations: 3.938 kB / 437.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2186, allocations: 0 / 437.2 MB, free: 15.64 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001554/0.2201, allocations: 0.9047 MB / 438.1 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.2202, allocations: 8.031 kB / 438.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.2203, allocations: 83.33 kB / 438.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.2204, allocations: 64.56 kB / 438.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006904/0.2211, allocations: 446.8 kB / 438.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.677e-05/0.2212, allocations: 54.92 kB / 438.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.722e-05/0.2213, allocations: 40.36 kB / 438.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008241/0.2221, allocations: 0.492 MB / 439.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.2221, allocations: 0 / 439.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.2221, allocations: 16 kB / 439.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.2222, allocations: 8 kB / 439.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.223, allocations: 338.4 kB / 439.6 MB, free: 13.04 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.001895/0.2248, allocations: 1.295 MB / 440.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006551/0.2255, allocations: 356.4 kB / 441.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.2259, allocations: 172.7 kB / 441.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.2259, allocations: 7.984 kB / 441.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.2259, allocations: 38.56 kB / 441.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.313e-06/0.2259, allocations: 0 / 441.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001513/0.2275, allocations: 0.7243 MB / 442.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.2277, allocations: 453 kB / 442.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004922/0.2282, allocations: 469.8 kB / 443.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.2282, allocations: 33.7 kB / 443.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.2284, allocations: 236.7 kB / 443.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2285, allocations: 134.8 kB / 443.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.2286, allocations: 81.64 kB / 443.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.2287, allocations: 350.8 kB / 443.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.2291, allocations: 143.7 kB / 444 MB, free: 8.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000467/0.2296, allocations: 278.8 kB / 444.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.2303, allocations: 341.2 kB / 444.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2303, allocations: 0 / 444.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009297/0.2312, allocations: 482.1 kB / 445.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.2312, allocations: 36.83 kB / 445.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2312, allocations: 0 / 445.1 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.2314, allocations: 53.72 kB / 445.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003786/0.2318, allocations: 83.88 kB / 445.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/0.2342, allocations: 2.965 MB / 448.2 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.2346, allocations: 55.8 kB / 448.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.2346, allocations: 12 kB / 448.3 MB, free: 3.633 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 (37): * Single equations (assignments): 34 * 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.0001942/0.2348, allocations: 173.8 kB / 448.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-05/0.2349, allocations: 55.91 kB / 448.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.395e-05/0.235, allocations: 52.77 kB / 448.6 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.235, allocations: 7.984 kB / 448.6 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.235, allocations: 3.938 kB / 448.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009411/0.2359, allocations: 0.7282 MB / 449.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.2374, allocations: 1.009 MB / 450.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.2374, allocations: 3.938 kB / 450.3 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/0.2379, allocations: 95.88 kB / 450.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2379, allocations: 3.938 kB / 450.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.2379, allocations: 8 kB / 450.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.2379, allocations: 4.062 kB / 450.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.2379, allocations: 3.984 kB / 450.4 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.2391, allocations: 0.6482 MB / 451.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001768/0.2393, allocations: 172.6 kB / 451.3 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.658e-05/0.2393, allocations: 8 kB / 451.3 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003473/0.2397, allocations: 31.97 kB / 451.3 MB, free: 424 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.2397, allocations: 24.03 kB / 451.3 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.2397, allocations: 8 kB / 451.3 MB, free: 392 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003301/0.2401, allocations: 327.1 kB / 451.7 MB, free: 72 kB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2401, allocations: 0 / 451.7 MB, free: 72 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.2405, allocations: 136 kB / 451.8 MB, free: 15.93 MB / 366.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 (35): * Single equations (assignments): 35 * 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.001496/0.242, allocations: 1.212 MB / 453 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.2431, allocations: 0.6292 MB / 453.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2431, allocations: 0 / 453.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003709/0.2434, allocations: 159.8 kB / 453.8 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006049/0.244, allocations: 144.4 kB / 453.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006056/0.2501, allocations: 4.523 MB / 458.4 MB, free: 9.105 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.2505, allocations: 0.8313 MB / 459.3 MB, free: 8.246 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.2507, allocations: 68.33 kB / 459.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.2509, allocations: 175.4 kB / 459.5 MB, free: 8.008 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2509, allocations: 3.938 kB / 459.5 MB, free: 8.004 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04304/0.294, allocations: 13.75 MB / 473.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.19, allocations: 8.047 kB / 473.3 MB, free: 10.52 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.307887507995474]