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.001321/0.001321, allocations: 112.2 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.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.001296/0.001296, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.344/1.344, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.001446/0.001446, allocations: 51.92 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.21, allocations: 53.37 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004662/0.2147, allocations: 3.804 MB / 435.7 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.2162, allocations: 1.032 MB / 436.8 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.2164, allocations: 11.94 kB / 436.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00028/0.2167, allocations: 111 kB / 436.9 MB, free: 1.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.217, allocations: 214.2 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.2173, allocations: 139.8 kB / 437.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007169/0.218, allocations: 0.7003 MB / 437.9 MB, free: 0.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002369/0.2182, allocations: 143 kB / 438.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.2185, allocations: 271 kB / 438.3 MB, free: 436 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.2189, allocations: 310.6 kB / 438.6 MB, free: 124 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.335e-05/0.219, allocations: 60 kB / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.444e-05/0.219, allocations: 60 kB / 438.7 MB, free: 4 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.2192, allocations: 139.5 kB / 438.9 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.2195, allocations: 322.5 kB / 439.2 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.2201, allocations: 0.7164 MB / 439.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2202, allocations: 7.938 kB / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2202, allocations: 0 / 439.9 MB, free: 14.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.2202, allocations: 0 / 439.9 MB, free: 14.83 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.001481/0.2216, allocations: 0.853 MB / 440.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2217, allocations: 12.03 kB / 440.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.883e-05/0.2217, allocations: 13.19 kB / 440.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.2218, allocations: 83.66 kB / 440.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.2219, allocations: 72.56 kB / 440.9 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006656/0.2226, allocations: 385.3 kB / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.2227, allocations: 114.7 kB / 441.4 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.2228, allocations: 52 kB / 441.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008695/0.2237, allocations: 0.5177 MB / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.2237, allocations: 0 / 442 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.2237, allocations: 16 kB / 442 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.2237, allocations: 8 kB / 442 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008469/0.2246, allocations: 367.7 kB / 442.4 MB, free: 12.21 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.002155/0.2267, allocations: 1.363 MB / 443.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008091/0.2275, allocations: 370.5 kB / 444.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.228, allocations: 196.7 kB / 444.3 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.228, allocations: 11.98 kB / 444.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.228, allocations: 38.56 kB / 444.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.522e-06/0.228, allocations: 0.7656 kB / 444.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007598/0.2356, allocations: 2.716 MB / 447.1 MB, free: 7.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002403/0.238, allocations: 2.366 MB / 449.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.2386, allocations: 482.1 kB / 449.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.2387, allocations: 37.7 kB / 449.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.2389, allocations: 245 kB / 450.2 MB, free: 4.016 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001886/0.2391, allocations: 226 kB / 450.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/0.2393, allocations: 110.3 kB / 450.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.2394, allocations: 370.7 kB / 450.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/0.2401, allocations: 289.2 kB / 451.2 MB, free: 3.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008454/0.241, allocations: 445.7 kB / 451.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.2424, allocations: 0.6292 MB / 452.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2424, allocations: 0 / 452.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002113/0.2445, allocations: 0.904 MB / 453.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.2445, allocations: 33.73 kB / 453.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2445, allocations: 0 / 453.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003569/0.2449, allocations: 175.3 kB / 453.3 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006523/0.2455, allocations: 147.8 kB / 453.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005337/0.2509, allocations: 5.701 MB / 459.2 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.2515, allocations: 60.2 kB / 459.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.2515, allocations: 19.94 kB / 459.3 MB, free: 10.36 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.0002756/0.2518, allocations: 197.7 kB / 459.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.2519, allocations: 67.61 kB / 459.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.2521, allocations: 73.61 kB / 459.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2521, allocations: 4 kB / 459.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.2521, allocations: 4.281 kB / 459.6 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002158/0.2543, allocations: 1.202 MB / 460.8 MB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/0.2578, allocations: 1.821 MB / 462.6 MB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2578, allocations: 3.938 kB / 462.6 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.2584, allocations: 131.8 kB / 462.7 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004883/0.2589, allocations: 210.4 kB / 463 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.542e-05/0.2589, allocations: 12 kB / 463 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005026/0.264, allocations: 4.84 MB / 467.8 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001489/0.2655, allocations: 1.638 MB / 469.4 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002993/0.2684, allocations: 1.352 MB / 470.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002966/0.2687, allocations: 127.5 kB / 470.9 MB, free: 14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.737e-05/0.2688, allocations: 12 kB / 470.9 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005621/0.2694, allocations: 56 kB / 471 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001492/0.2695, allocations: 60.53 kB / 471 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.2696, allocations: 16 kB / 471.1 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004036/0.27, allocations: 342.9 kB / 471.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.27, allocations: 0 / 471.4 MB, free: 13.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006945/0.2707, allocations: 208 kB / 471.6 MB, free: 13.33 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.00355/0.2742, allocations: 1.924 MB / 473.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0023/0.2765, allocations: 1.206 MB / 474.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2765, allocations: 0 / 474.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.2779, allocations: 0.726 MB / 475.5 MB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006957/0.2786, allocations: 150 kB / 475.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.2887, allocations: 6.191 MB / 481.8 MB, free: 2.855 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.2892, allocations: 0.8766 MB / 482.7 MB, free: 1.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003243/0.2895, allocations: 77.05 kB / 482.7 MB, free: 1.871 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003283/0.2899, allocations: 215.4 kB / 483 MB, free: 1.66 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2899, allocations: 0 / 483 MB, free: 1.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05744/0.3473, allocations: 18.88 MB / 0.4901 GB, free: 15.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.55, allocations: 11.03 kB / 0.4901 GB, free: 15.08 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.819139204977546] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.729592728021089 13.744144242 13.520875165 Calling exit ...