Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.005297/0.005297, allocations: 110.8 kB / 21.97 MB, free: 5.246 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.001599/0.001599, allocations: 205.1 kB / 25.27 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0027/0.0027, allocations: 58.58 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2352, allocations: 49.16 MB / 397.1 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004379/0.2396, allocations: 3.773 MB / 400.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.241, allocations: 1.051 MB / 402 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.2411, allocations: 10.16 kB / 402 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.2414, allocations: 109.7 kB / 402.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003305/0.2418, allocations: 206.7 kB / 402.3 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.242, allocations: 139.6 kB / 402.4 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.2427, allocations: 0.7085 MB / 403.1 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.2429, allocations: 139.7 kB / 403.3 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002414/0.2431, allocations: 276.9 kB / 403.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.2434, allocations: 307.2 kB / 403.8 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.971e-05/0.2435, allocations: 59.44 kB / 403.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.553e-05/0.2436, allocations: 60.66 kB / 403.9 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.483e-05/0.2437, allocations: 130.6 kB / 404.1 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002291/0.2439, allocations: 323.4 kB / 404.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.2445, allocations: 0.719 MB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2445, allocations: 1.188 kB / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2445, allocations: 0 / 405.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.886e-06/0.2445, allocations: 4 kB / 405.1 MB, free: 3.949 MB / 318.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.001329/0.2459, allocations: 0.8553 MB / 406 MB, free: 3.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.2459, allocations: 13.61 kB / 406 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.689e-05/0.2459, allocations: 11.09 kB / 406 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.169e-05/0.246, allocations: 92.72 kB / 406.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2461, allocations: 73.55 kB / 406.2 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005982/0.2467, allocations: 378.7 kB / 406.5 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.731e-05/0.2468, allocations: 120.5 kB / 406.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.484e-05/0.2469, allocations: 41.62 kB / 406.7 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.2476, allocations: 0.5118 MB / 407.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.2476, allocations: 1.156 kB / 407.2 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/0.2477, allocations: 16.19 kB / 407.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2477, allocations: 9.438 kB / 407.2 MB, free: 2.512 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007771/0.2485, allocations: 362.8 kB / 407.6 MB, free: 2.406 MB / 318.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.001841/0.2503, allocations: 1.382 MB / 409 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007538/0.2511, allocations: 363.4 kB / 409.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003966/0.2515, allocations: 187.8 kB / 409.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.2515, allocations: 11.14 kB / 409.5 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2515, allocations: 38.84 kB / 409.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.503e-06/0.2515, allocations: 4 kB / 409.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.007613/0.2591, allocations: 2.713 MB / 412.3 MB, free: 16 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002599/0.2617, allocations: 2.366 MB / 414.6 MB, free: 13.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005752/0.2623, allocations: 477.2 kB / 415.1 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/0.2624, allocations: 38.98 kB / 415.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002034/0.2626, allocations: 260.5 kB / 415.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.2628, allocations: 219.8 kB / 415.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.263, allocations: 113 kB / 415.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.2632, allocations: 367.5 kB / 416.1 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006899/0.2639, allocations: 284.8 kB / 416.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000844/0.2647, allocations: 457.9 kB / 416.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.2661, allocations: 0.6264 MB / 417.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2661, allocations: 7.938 kB / 417.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002052/0.2681, allocations: 0.9084 MB / 418.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.753e-05/0.2682, allocations: 31.7 kB / 418.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.2682, allocations: 1.156 kB / 418.4 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003545/0.2685, allocations: 178 kB / 418.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00063/0.2692, allocations: 142.4 kB / 418.7 MB, free: 11.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005522/0.2747, allocations: 5.698 MB / 424.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007618/0.2755, allocations: 64.84 kB / 424.4 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-05/0.2755, allocations: 24.3 kB / 424.5 MB, free: 5.363 MB / 334.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.000294/0.2758, allocations: 185.4 kB / 424.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.2759, allocations: 64.62 kB / 424.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.2761, allocations: 71.36 kB / 424.8 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2761, allocations: 9.438 kB / 424.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/0.2761, allocations: 5.375 kB / 424.8 MB, free: 5.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002156/0.2782, allocations: 1.197 MB / 426 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003497/0.2817, allocations: 1.823 MB / 427.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.2817, allocations: 0 / 427.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.2823, allocations: 128.8 kB / 427.9 MB, free: 2.848 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004924/0.2828, allocations: 214.4 kB / 428.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.2829, allocations: 10.94 kB / 428.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005303/0.2882, allocations: 4.845 MB / 433 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00159/0.2897, allocations: 1.642 MB / 434.7 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.2929, allocations: 1.348 MB / 436 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003673/0.2932, allocations: 131.5 kB / 436.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.243e-05/0.2933, allocations: 12 kB / 436.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/0.2939, allocations: 55.88 kB / 436.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.2941, allocations: 56.53 kB / 436.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-05/0.2941, allocations: 19.98 kB / 436.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004391/0.2946, allocations: 346.9 kB / 436.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2946, allocations: 3.938 kB / 436.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007422/0.2953, allocations: 208 kB / 436.8 MB, free: 9.805 MB / 350.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.003352/0.2987, allocations: 1.908 MB / 438.7 MB, free: 7.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.3011, allocations: 1.199 MB / 439.9 MB, free: 6.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.3011, allocations: 4 kB / 439.9 MB, free: 6.586 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.3026, allocations: 0.7223 MB / 440.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007643/0.3033, allocations: 153.9 kB / 440.8 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0101/0.3134, allocations: 6.205 MB / 447 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005447/0.314, allocations: 0.8766 MB / 447.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003183/0.3143, allocations: 80.98 kB / 448 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003397/0.3146, allocations: 219.3 kB / 448.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3146, allocations: 0 / 448.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05511/0.3697, allocations: 18.88 MB / 467 MB, free: 11.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.66, allocations: 8.062 kB / 467.1 MB, free: 11.18 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.850768232019618] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.837887281028088 13.850539057 13.603197621 Calling exit ...