Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 116.6 kB / 18.49 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 189 kB / 21.43 MB, free: 1.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 249.8 MB, free: 3.746 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 48.06 kB / 366.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08589/0.08729, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.0048/0.09209, allocations: 3.767 MB / 422.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001517/0.09361, allocations: 1.001 MB / 423.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.09378, allocations: 7.938 kB / 423.3 MB, free: 7.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003005/0.09408, allocations: 111 kB / 423.4 MB, free: 7.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.09445, allocations: 214.2 kB / 423.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.09471, allocations: 127.8 kB / 423.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007509/0.09546, allocations: 0.708 MB / 424.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002353/0.0957, allocations: 142.8 kB / 424.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002787/0.09598, allocations: 271 kB / 424.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003488/0.09633, allocations: 302.7 kB / 425.1 MB, free: 5.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.313e-05/0.09641, allocations: 56 kB / 425.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.0965, allocations: 68 kB / 425.2 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.09663, allocations: 135.4 kB / 425.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.09692, allocations: 322.5 kB / 425.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007374/0.09766, allocations: 0.7197 MB / 426.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.09766, allocations: 0 / 426.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.09766, allocations: 0 / 426.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.09767, allocations: 0 / 426.4 MB, free: 4.66 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.00156/0.09923, allocations: 0.9322 MB / 427.3 MB, free: 3.672 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.09927, allocations: 12.03 kB / 427.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.635e-05/0.0993, allocations: 13.19 kB / 427.3 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001135/0.09942, allocations: 91.64 kB / 427.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.09953, allocations: 72.52 kB / 427.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.1002, allocations: 443.1 kB / 427.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/0.1003, allocations: 63.25 kB / 428 MB, free: 2.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.331e-05/0.1004, allocations: 44.06 kB / 428 MB, free: 2.895 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008926/0.1013, allocations: 0.5138 MB / 428.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.1013, allocations: 7.953 kB / 428.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.1014, allocations: 16 kB / 428.6 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1014, allocations: 12 kB / 428.6 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008639/0.1022, allocations: 367.7 kB / 429 MB, free: 1.93 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.002182/0.1044, allocations: 1.402 MB / 430.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000873/0.1053, allocations: 448.2 kB / 430.8 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.1057, allocations: 196.8 kB / 431 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.1058, allocations: 11.98 kB / 431 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1058, allocations: 42.56 kB / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 1.563e-06/0.1058, allocations: 0 / 431 MB, free: 15.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.008023/0.1138, allocations: 2.937 MB / 434 MB, free: 12.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002563/0.1164, allocations: 2.47 MB / 436.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005586/0.117, allocations: 486 kB / 436.9 MB, free: 9.473 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.816e-05/0.117, allocations: 37.7 kB / 437 MB, free: 9.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1172, allocations: 241 kB / 437.2 MB, free: 9.188 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.1174, allocations: 230 kB / 437.4 MB, free: 8.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.1176, allocations: 114.2 kB / 437.5 MB, free: 8.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1178, allocations: 370.7 kB / 437.9 MB, free: 8.473 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007165/0.1185, allocations: 285 kB / 438.2 MB, free: 8.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008717/0.1194, allocations: 444.6 kB / 438.6 MB, free: 7.707 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.1208, allocations: 0.6273 MB / 439.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1208, allocations: 0 / 439.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002086/0.1229, allocations: 0.9095 MB / 440.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.491e-05/0.1229, allocations: 29.7 kB / 440.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1229, allocations: 0 / 440.2 MB, free: 6.098 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003585/0.1233, allocations: 171.3 kB / 440.3 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.124, allocations: 147.8 kB / 440.5 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.163/0.287, allocations: 6.103 MB / 446.6 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000736/0.2877, allocations: 57.7 kB / 446.6 MB, free: 28.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.15e-05/0.2878, allocations: 18.62 kB / 446.7 MB, free: 28.77 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.0002297/0.288, allocations: 192.3 kB / 446.8 MB, free: 28.65 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.2881, allocations: 67.41 kB / 446.9 MB, free: 28.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001331/0.2882, allocations: 74.64 kB / 447 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.2882, allocations: 6.062 kB / 447 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.2882, allocations: 4.781 kB / 447 MB, free: 28.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001761/0.29, allocations: 1.195 MB / 448.2 MB, free: 28.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/0.2928, allocations: 1.852 MB / 450 MB, free: 27.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2928, allocations: 0.7031 kB / 450 MB, free: 27.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005727/0.2934, allocations: 133.1 kB / 450.2 MB, free: 27.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004185/0.2938, allocations: 211.8 kB / 450.4 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.2939, allocations: 11.44 kB / 450.4 MB, free: 27.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003483/0.2973, allocations: 5.148 MB / 455.5 MB, free: 23.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009967/0.2983, allocations: 1.743 MB / 457.3 MB, free: 22.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.301, allocations: 1.348 MB / 458.6 MB, free: 21.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.3012, allocations: 204.3 kB / 458.8 MB, free: 21.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.019e-05/0.3013, allocations: 17.86 kB / 458.8 MB, free: 21.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005544/0.3018, allocations: 49.98 kB / 458.9 MB, free: 21.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.302, allocations: 60.05 kB / 459 MB, free: 21.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.551e-05/0.302, allocations: 17.86 kB / 459 MB, free: 21.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003917/0.3024, allocations: 340.6 kB / 459.3 MB, free: 21.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3024, allocations: 0 / 459.3 MB, free: 21.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007233/0.3032, allocations: 208.3 kB / 459.5 MB, free: 21.21 MB / 366.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.002859/0.306, allocations: 1.923 MB / 461.4 MB, free: 20.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001994/0.308, allocations: 1.199 MB / 462.6 MB, free: 19.33 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.308, allocations: 1.125 kB / 462.6 MB, free: 19.33 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0012/0.3092, allocations: 0.7273 MB / 463.4 MB, free: 18.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006671/0.3099, allocations: 155.7 kB / 463.5 MB, free: 18.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008595/0.3185, allocations: 6.197 MB / 469.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3188, allocations: 0.8723 MB / 470.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.3191, allocations: 78.16 kB / 470.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.3194, allocations: 220.2 kB / 470.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3194, allocations: 0 / 470.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.048/0.3674, allocations: 18.42 MB / 489.3 MB, free: 4.699 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/12.92, allocations: 15.19 kB / 489.3 MB, free: 4.688 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut_fmu --startTime=0 --stopTime=2 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.147178602986969] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.081219401967246 13.103617099 13.001442859 Calling exit ...