Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.00119/0.00119, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 230.5 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 63.89 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2417, allocations: 53.4 MB / 431.9 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005063/0.2468, allocations: 3.44 MB / 435.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2486, allocations: 0.9774 MB / 436.3 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003019/0.2489, allocations: 7.938 kB / 436.3 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.2493, allocations: 111 kB / 436.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005176/0.2498, allocations: 210.3 kB / 436.6 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.2501, allocations: 139.8 kB / 436.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008549/0.251, allocations: 0.7041 MB / 437.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002949/0.2513, allocations: 143.2 kB / 437.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003218/0.2516, allocations: 278.9 kB / 437.9 MB, free: 444 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003554/0.2519, allocations: 302.8 kB / 438.2 MB, free: 140 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.287e-05/0.252, allocations: 60 kB / 438.2 MB, free: 80 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.2521, allocations: 63.94 kB / 438.3 MB, free: 16 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.2523, allocations: 131.5 kB / 438.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.2525, allocations: 266.9 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007419/0.2533, allocations: 0.7297 MB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2533, allocations: 3.938 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2533, allocations: 4 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.2533, allocations: 0 / 439.4 MB, free: 14.89 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.001522/0.2548, allocations: 0.853 MB / 440.3 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2548, allocations: 12.03 kB / 440.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.856e-05/0.2549, allocations: 9.188 kB / 440.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/0.255, allocations: 87.66 kB / 440.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.2551, allocations: 68.56 kB / 440.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.2558, allocations: 389.2 kB / 440.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.2559, allocations: 118.7 kB / 441 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.256, allocations: 44.08 kB / 441 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.2571, allocations: 0.8903 MB / 441.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.2571, allocations: 4 kB / 441.9 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.2572, allocations: 16 kB / 441.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.2572, allocations: 12 kB / 441.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008319/0.258, allocations: 371.7 kB / 442.3 MB, free: 11.8 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.002081/0.2601, allocations: 1.121 MB / 443.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007957/0.2609, allocations: 367.7 kB / 443.8 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.2613, allocations: 187.3 kB / 443.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.2613, allocations: 11.98 kB / 444 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.2614, allocations: 38.56 kB / 444 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.734e-06/0.2614, allocations: 0 / 444 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.007562/0.2689, allocations: 2.717 MB / 446.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002489/0.2714, allocations: 2.347 MB / 449.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005639/0.272, allocations: 478.1 kB / 449.5 MB, free: 4.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.272, allocations: 41.64 kB / 449.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.2722, allocations: 245 kB / 449.8 MB, free: 3.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.2724, allocations: 226 kB / 450 MB, free: 3.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.2727, allocations: 110.3 kB / 450.1 MB, free: 3.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.2728, allocations: 366.8 kB / 450.5 MB, free: 3.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000723/0.2736, allocations: 314.9 kB / 450.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.2746, allocations: 0.8368 MB / 451.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.276, allocations: 0.633 MB / 452.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.276, allocations: 0 / 452.3 MB, free: 1.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002065/0.2781, allocations: 0.9291 MB / 453.2 MB, free: 304 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.2781, allocations: 33.69 kB / 453.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2781, allocations: 4 kB / 453.2 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003838/0.2785, allocations: 171.3 kB / 453.4 MB, free: 76 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.2792, allocations: 147.8 kB / 453.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005734/0.2849, allocations: 5.669 MB / 459.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.2856, allocations: 55.98 kB / 459.3 MB, free: 9.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-05/0.2857, allocations: 27.98 kB / 459.3 MB, free: 9.719 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.0002901/0.286, allocations: 189.8 kB / 459.5 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.2861, allocations: 71.61 kB / 459.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001543/0.2862, allocations: 65.62 kB / 459.6 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.2862, allocations: 4 kB / 459.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2863, allocations: 4 kB / 459.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002183/0.2884, allocations: 1.202 MB / 460.8 MB, free: 8.062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003427/0.2919, allocations: 1.673 MB / 462.5 MB, free: 6.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2919, allocations: 3.938 kB / 462.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.2925, allocations: 132.1 kB / 462.6 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000501/0.293, allocations: 210.4 kB / 462.8 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.293, allocations: 12 kB / 462.9 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005156/0.2982, allocations: 4.813 MB / 467.7 MB, free: 0.8086 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001529/0.2997, allocations: 1.622 MB / 469.3 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002846/0.3025, allocations: 1.356 MB / 470.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002809/0.3028, allocations: 127.5 kB / 470.8 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.553e-05/0.3029, allocations: 12 kB / 470.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005327/0.3034, allocations: 47.94 kB / 470.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.3036, allocations: 64.53 kB / 470.9 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3036, allocations: 16.06 kB / 470.9 MB, free: 13.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004011/0.304, allocations: 346.9 kB / 471.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.304, allocations: 0 / 471.2 MB, free: 13.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006738/0.3047, allocations: 204 kB / 471.4 MB, free: 12.88 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.003193/0.3079, allocations: 1.92 MB / 473.4 MB, free: 10.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.3102, allocations: 1.236 MB / 474.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3102, allocations: 4 kB / 474.6 MB, free: 9.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.3115, allocations: 0.7299 MB / 475.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006902/0.3122, allocations: 150.4 kB / 475.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00992/0.3221, allocations: 6.289 MB / 481.8 MB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3224, allocations: 285.6 kB / 482 MB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003163/0.3227, allocations: 77.03 kB / 482.1 MB, free: 1.863 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.3231, allocations: 215.3 kB / 482.3 MB, free: 1.652 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3231, allocations: 0 / 482.3 MB, free: 1.652 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05826/0.3813, allocations: 20.06 MB / 0.4906 GB, free: 13.94 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.71, allocations: 11.86 kB / 0.4906 GB, free: 13.93 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.977810589945875] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.89281014003791 13.907028516 13.650836306 Calling exit ...