Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 191.7 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 47.92 kB / 371.2 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2046, allocations: 52.2 MB / 423.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004824/0.2095, allocations: 3.797 MB / 427.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2109, allocations: 0.9967 MB / 428.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000151/0.211, allocations: 11.94 kB / 428.2 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.2113, allocations: 115 kB / 428.3 MB, free: 9.703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003624/0.2117, allocations: 210.3 kB / 428.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002747/0.2119, allocations: 139.8 kB / 428.7 MB, free: 9.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007304/0.2127, allocations: 0.7002 MB / 429.4 MB, free: 8.656 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002365/0.2129, allocations: 139.2 kB / 429.5 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.2132, allocations: 271.1 kB / 429.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000366/0.2136, allocations: 310.6 kB / 430.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.551e-05/0.2137, allocations: 64 kB / 430.1 MB, free: 7.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.2138, allocations: 60 kB / 430.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001094/0.2139, allocations: 131.6 kB / 430.3 MB, free: 7.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003/0.2142, allocations: 322.5 kB / 430.6 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007121/0.2149, allocations: 0.7207 MB / 431.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2149, allocations: 0 / 431.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2149, allocations: 0 / 431.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.2149, allocations: 0 / 431.4 MB, free: 6.66 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001522/0.2164, allocations: 0.8569 MB / 432.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.2165, allocations: 8.031 kB / 432.2 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.038e-05/0.2165, allocations: 29.11 kB / 432.3 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/0.2166, allocations: 75.72 kB / 432.3 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.2167, allocations: 76.45 kB / 432.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.2174, allocations: 389.3 kB / 432.8 MB, free: 5.164 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.2176, allocations: 114.7 kB / 432.9 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.536e-05/0.2176, allocations: 40.12 kB / 432.9 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/0.2185, allocations: 0.5137 MB / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.2185, allocations: 0 / 433.4 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.2186, allocations: 20 kB / 433.5 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.2186, allocations: 8 kB / 433.5 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.2194, allocations: 367.8 kB / 433.8 MB, free: 4.039 MB / 334.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.002182/0.2216, allocations: 1.359 MB / 435.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008197/0.2224, allocations: 367.4 kB / 435.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004343/0.2229, allocations: 201.5 kB / 435.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.2229, allocations: 4 kB / 435.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2229, allocations: 38.56 kB / 435.8 MB, free: 1.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.413e-06/0.2229, allocations: 3.938 kB / 435.8 MB, free: 1.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.007732/0.2307, allocations: 2.72 MB / 438.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002442/0.2331, allocations: 2.368 MB / 440.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.2336, allocations: 482 kB / 441.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.2337, allocations: 37.7 kB / 441.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.2339, allocations: 249 kB / 441.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.2341, allocations: 221.9 kB / 441.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.2343, allocations: 114.3 kB / 442 MB, free: 11.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.2345, allocations: 366.8 kB / 442.3 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006949/0.2352, allocations: 289.2 kB / 442.6 MB, free: 10.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.236, allocations: 449.5 kB / 443 MB, free: 10.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.2374, allocations: 0.6214 MB / 443.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2374, allocations: 0 / 443.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002036/0.2395, allocations: 0.9078 MB / 444.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.635e-05/0.2395, allocations: 33.7 kB / 444.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.2395, allocations: 0 / 444.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.2399, allocations: 175.3 kB / 444.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.2405, allocations: 143.8 kB / 444.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005495/0.246, allocations: 5.7 MB / 450.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006887/0.2467, allocations: 59.97 kB / 450.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.2467, allocations: 23.92 kB / 450.7 MB, free: 2.191 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 (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002955/0.247, allocations: 193.7 kB / 450.9 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.2472, allocations: 71.58 kB / 451 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.2473, allocations: 73.55 kB / 451 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2473, allocations: 8 kB / 451 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2473, allocations: 0 / 451 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002204/0.2495, allocations: 1.206 MB / 452.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.2531, allocations: 1.821 MB / 454.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/0.2532, allocations: 3.984 kB / 454.1 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006066/0.2538, allocations: 127.8 kB / 454.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004963/0.2543, allocations: 210.5 kB / 454.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.2543, allocations: 16 kB / 454.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005198/0.2595, allocations: 4.836 MB / 459.2 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001537/0.261, allocations: 1.634 MB / 460.9 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/0.264, allocations: 1.348 MB / 462.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003072/0.2643, allocations: 127.5 kB / 462.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.2644, allocations: 19.98 kB / 462.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005726/0.265, allocations: 52.45 kB / 462.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/0.2652, allocations: 60.53 kB / 462.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-05/0.2652, allocations: 23.92 kB / 462.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00042/0.2656, allocations: 334.9 kB / 462.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2656, allocations: 0 / 462.8 MB, free: 5.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007076/0.2663, allocations: 215.9 kB / 463 MB, free: 5.152 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,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 (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003378/0.2697, allocations: 1.927 MB / 465 MB, free: 3.184 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002374/0.2721, allocations: 1.203 MB / 466.2 MB, free: 1.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.2721, allocations: 4 kB / 466.2 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/0.2735, allocations: 0.7145 MB / 466.9 MB, free: 1.156 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.2742, allocations: 152.1 kB / 467 MB, free: 1.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.2844, allocations: 6.2 MB / 473.2 MB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.2849, allocations: 0.8766 MB / 474.1 MB, free: 9.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002999/0.2852, allocations: 77.05 kB / 474.2 MB, free: 9.691 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003415/0.2856, allocations: 219.3 kB / 474.4 MB, free: 9.477 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2856, allocations: 4 kB / 474.4 MB, free: 9.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05674/0.3423, allocations: 18.86 MB / 493.3 MB, free: 6.918 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.48, allocations: 15.86 kB / 493.3 MB, free: 6.902 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.642982193967327] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.652625091024674 13.667331115 13.449553343 Calling exit ...