Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001319/0.001319, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001523/0.001523, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.416/1.416, allocations: 230.6 MB / 258.3 MB, free: 8.027 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-beta.om/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_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 68.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2554, allocations: 53.36 MB / 431.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005282/0.2607, allocations: 3.804 MB / 435.7 MB, free: 3.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.2626, allocations: 1.04 MB / 436.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.2628, allocations: 11.94 kB / 436.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.2632, allocations: 111 kB / 436.9 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.2636, allocations: 214.3 kB / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.2639, allocations: 127.8 kB / 437.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008168/0.2647, allocations: 0.7151 MB / 437.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002571/0.2649, allocations: 143.2 kB / 438.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.2653, allocations: 275 kB / 438.3 MB, free: 460 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/0.2656, allocations: 302.7 kB / 438.6 MB, free: 156 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-05/0.2657, allocations: 60 kB / 438.7 MB, free: 96 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.742e-05/0.2658, allocations: 60 kB / 438.7 MB, free: 36 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001441/0.266, allocations: 139.6 kB / 438.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003007/0.2663, allocations: 318.5 kB / 439.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007946/0.2671, allocations: 0.718 MB / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2671, allocations: 0 / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2671, allocations: 0 / 439.9 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.2671, allocations: 7.984 kB / 439.9 MB, free: 14.86 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.001633/0.2687, allocations: 0.8569 MB / 440.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2688, allocations: 8.031 kB / 440.8 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.2689, allocations: 83.7 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.269, allocations: 72.52 kB / 440.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.2698, allocations: 381.3 kB / 441.3 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.2699, allocations: 110.7 kB / 441.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.213e-05/0.27, allocations: 36.38 kB / 441.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000944/0.2709, allocations: 0.5136 MB / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.2709, allocations: 0 / 442 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.271, allocations: 20 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.271, allocations: 8 kB / 442 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.2718, allocations: 359.7 kB / 442.3 MB, free: 12.29 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.002385/0.2742, allocations: 1.32 MB / 443.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.2751, allocations: 355.2 kB / 444 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004148/0.2755, allocations: 176.8 kB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.2756, allocations: 4 kB / 444.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.2756, allocations: 42.31 kB / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.954e-06/0.2756, allocations: 0 / 444.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001632/0.2773, allocations: 0.6008 MB / 444.8 MB, free: 9.676 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002612/0.2775, allocations: 448.8 kB / 445.3 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006138/0.2781, allocations: 482 kB / 445.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.2782, allocations: 33.7 kB / 445.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.2784, allocations: 248.7 kB / 446 MB, free: 8.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.2785, allocations: 138.8 kB / 446.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.2787, allocations: 81.64 kB / 446.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.2789, allocations: 362.8 kB / 446.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.2793, allocations: 139.9 kB / 446.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.2798, allocations: 294.4 kB / 447 MB, free: 7.301 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007913/0.2806, allocations: 346.6 kB / 447.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2806, allocations: 4 kB / 447.3 MB, free: 6.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001071/0.2817, allocations: 496.1 kB / 447.8 MB, free: 6.441 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.305e-05/0.2817, allocations: 33.7 kB / 447.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2817, allocations: 0 / 447.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.2819, allocations: 57.67 kB / 447.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004607/0.2824, allocations: 87.88 kB / 448 MB, free: 6.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/0.2852, allocations: 2.758 MB / 450.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004763/0.2857, allocations: 55.69 kB / 450.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.2858, allocations: 12 kB / 450.8 MB, free: 3.199 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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002744/0.286, allocations: 177.7 kB / 451 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-05/0.2861, allocations: 55.67 kB / 451.1 MB, free: 2.961 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.2863, allocations: 60.86 kB / 451.1 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2863, allocations: 4 kB / 451.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2863, allocations: 0 / 451.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001085/0.2874, allocations: 0.7399 MB / 451.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.2892, allocations: 1.016 MB / 452.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2892, allocations: 3.938 kB / 452.9 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.2896, allocations: 91.94 kB / 453 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.2896, allocations: 0 / 453 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.2897, allocations: 11.98 kB / 453 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2897, allocations: 3.938 kB / 453 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2897, allocations: 0 / 453 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.291, allocations: 0.6761 MB / 453.7 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.2912, allocations: 103.5 kB / 453.8 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.2913, allocations: 11.94 kB / 453.8 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003614/0.2917, allocations: 27.97 kB / 453.8 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.2917, allocations: 31.94 kB / 453.8 MB, free: 0 / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.2918, allocations: 8.297 kB / 453.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004429/0.2922, allocations: 346.8 kB / 454.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2922, allocations: 0 / 454.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.2927, allocations: 139.9 kB / 454.3 MB, free: 15.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001783/0.2944, allocations: 1.24 MB / 455.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.2958, allocations: 0.6332 MB / 456.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2958, allocations: 0 / 456.2 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.2962, allocations: 171.8 kB / 456.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007477/0.297, allocations: 138 kB / 456.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007634/0.3046, allocations: 4.669 MB / 461.2 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.3051, allocations: 0.8467 MB / 462 MB, free: 7.633 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003334/0.3054, allocations: 64.53 kB / 462.1 MB, free: 7.566 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002745/0.3057, allocations: 183.4 kB / 462.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of SimCode: time 1.113e-06/0.3057, allocations: 0 / 462.2 MB, free: 7.387 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05101/0.3567, allocations: 14.29 MB / 476.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.89, allocations: 13.03 kB / 476.6 MB, free: 9.367 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.209013511892408] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 12.99991162167862 13.018481646 12.747939746 Calling exit ...