Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 211.8 kB / 24.51 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.351/1.351, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 43.92 kB / 378.5 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2182, allocations: 53.36 MB / 431.9 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004719/0.2229, allocations: 3.444 MB / 435.3 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00159/0.2245, allocations: 0.9735 MB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.2247, allocations: 7.938 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.225, allocations: 111 kB / 436.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.2254, allocations: 210.3 kB / 436.6 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.2256, allocations: 139.7 kB / 436.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007506/0.2264, allocations: 0.7074 MB / 437.4 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002404/0.2266, allocations: 143.2 kB / 437.6 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.2269, allocations: 275 kB / 437.8 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003527/0.2273, allocations: 302.8 kB / 438.1 MB, free: 336 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.57e-05/0.2273, allocations: 60 kB / 438.2 MB, free: 276 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2274, allocations: 63.94 kB / 438.3 MB, free: 212 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.2276, allocations: 131.5 kB / 438.4 MB, free: 80 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002889/0.2278, allocations: 266.8 kB / 438.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007169/0.2286, allocations: 0.7336 MB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2286, allocations: 0 / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.2286, allocations: 0 / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.926e-06/0.2286, allocations: 4 kB / 439.4 MB, free: 15.08 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001507/0.2301, allocations: 0.853 MB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.2301, allocations: 12.03 kB / 440.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.139e-05/0.2302, allocations: 9.188 kB / 440.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.2303, allocations: 87.66 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.2304, allocations: 68.56 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006876/0.2311, allocations: 385.2 kB / 440.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.2312, allocations: 110.7 kB / 440.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.2313, allocations: 52.06 kB / 440.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.2324, allocations: 0.898 MB / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2324, allocations: 0 / 441.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.2324, allocations: 20 kB / 441.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2324, allocations: 8 kB / 441.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008267/0.2333, allocations: 363.8 kB / 442.2 MB, free: 12 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.002044/0.2353, allocations: 1.117 MB / 443.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.2361, allocations: 382.2 kB / 443.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.2365, allocations: 192.7 kB / 443.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.2366, allocations: 4 kB / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.2366, allocations: 46.55 kB / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.803e-06/0.2366, allocations: 0 / 444 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007473/0.2441, allocations: 2.713 MB / 446.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002418/0.2465, allocations: 2.342 MB / 449 MB, free: 4.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.247, allocations: 478 kB / 449.5 MB, free: 4.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.2471, allocations: 37.7 kB / 449.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001959/0.2473, allocations: 241 kB / 449.8 MB, free: 4.105 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.2475, allocations: 234.6 kB / 450 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.2477, allocations: 114.3 kB / 450.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.2479, allocations: 366.8 kB / 450.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006988/0.2486, allocations: 315 kB / 450.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.2496, allocations: 0.844 MB / 451.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.2509, allocations: 0.6252 MB / 452.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.2509, allocations: 4 kB / 452.2 MB, free: 1.445 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002028/0.253, allocations: 0.9328 MB / 453.2 MB, free: 492 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.253, allocations: 33.7 kB / 453.2 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.253, allocations: 4.031 kB / 453.2 MB, free: 448 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003769/0.2534, allocations: 175.3 kB / 453.4 MB, free: 256 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.254, allocations: 135.8 kB / 453.5 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/0.2594, allocations: 5.686 MB / 459.2 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006842/0.2601, allocations: 51.98 kB / 459.2 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.727e-05/0.2602, allocations: 27.92 kB / 459.3 MB, free: 9.895 MB / 366.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.0002848/0.2605, allocations: 192.3 kB / 459.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.2606, allocations: 67.56 kB / 459.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001515/0.2607, allocations: 73.61 kB / 459.6 MB, free: 9.559 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.2607, allocations: 8 kB / 459.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.2608, allocations: 0 / 459.6 MB, free: 9.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002118/0.2629, allocations: 1.202 MB / 460.8 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.2663, allocations: 1.673 MB / 462.5 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2663, allocations: 0 / 462.5 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.2669, allocations: 131.8 kB / 462.6 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005108/0.2675, allocations: 210.7 kB / 462.8 MB, free: 6.148 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.2675, allocations: 8 kB / 462.8 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005122/0.2726, allocations: 4.809 MB / 467.6 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001546/0.2742, allocations: 1.622 MB / 469.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/0.2771, allocations: 1.352 MB / 470.6 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.2774, allocations: 127.5 kB / 470.7 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.569e-05/0.2775, allocations: 16 kB / 470.7 MB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005485/0.278, allocations: 47.94 kB / 470.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.2782, allocations: 64.53 kB / 470.9 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.2783, allocations: 16 kB / 470.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004108/0.2787, allocations: 334.9 kB / 471.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2787, allocations: 8 kB / 471.2 MB, free: 13.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007063/0.2794, allocations: 208 kB / 471.4 MB, free: 13.07 MB / 382.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.003225/0.2826, allocations: 1.931 MB / 473.3 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.2849, allocations: 1.228 MB / 474.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2849, allocations: 0 / 474.6 MB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001325/0.2862, allocations: 0.7223 MB / 475.3 MB, free: 9.031 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007368/0.287, allocations: 158 kB / 475.4 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.297, allocations: 6.298 MB / 481.7 MB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.2973, allocations: 277.6 kB / 482 MB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003409/0.2976, allocations: 81.03 kB / 482.1 MB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003421/0.2979, allocations: 219.3 kB / 482.3 MB, free: 1.824 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.2979, allocations: 0 / 482.3 MB, free: 1.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06161/0.3596, allocations: 20.05 MB / 0.4906 GB, free: 14.18 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.65, allocations: 10.8 kB / 0.4906 GB, free: 14.17 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.942658049054444] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.834831486921757 13.863480923 13.62996405 Calling exit ...