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.001208/0.001208, allocations: 117.5 kB / 19.17 MB, free: 3.922 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.001244/0.001244, allocations: 203.9 kB / 22.12 MB, free: 0.9805 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.315/1.315, allocations: 207.6 MB / 232.5 MB, free: 3.965 MB / 174.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.001617/0.001617, allocations: 51.92 kB / 343 MB, free: 9.992 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08327/0.08489, allocations: 49.12 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004756/0.08965, allocations: 3.764 MB / 395.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.09122, allocations: 1.04 MB / 396.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/0.09139, allocations: 11.94 kB / 396.9 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002969/0.09168, allocations: 111 kB / 397 MB, free: 3.754 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.09206, allocations: 210.3 kB / 397.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.09233, allocations: 135.8 kB / 397.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007456/0.09308, allocations: 0.708 MB / 398.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.09332, allocations: 146.8 kB / 398.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.09361, allocations: 275 kB / 398.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.09395, allocations: 302.7 kB / 398.8 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.09404, allocations: 60 kB / 398.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.166e-05/0.09413, allocations: 60 kB / 398.9 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.09425, allocations: 143.4 kB / 399 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002956/0.09455, allocations: 318.5 kB / 399.4 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007362/0.09528, allocations: 0.7197 MB / 400.1 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.09529, allocations: 3.938 kB / 400.1 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.09529, allocations: 4 kB / 400.1 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.0953, allocations: 0 / 400.1 MB, free: 0.6914 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.001543/0.09685, allocations: 0.9322 MB / 401 MB, free: 15.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.09688, allocations: 8.031 kB / 401 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.257e-05/0.09692, allocations: 17.17 kB / 401 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001106/0.09703, allocations: 83.67 kB / 401.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001204/0.09715, allocations: 76.52 kB / 401.2 MB, free: 15.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000732/0.09789, allocations: 439.2 kB / 401.6 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.09799, allocations: 67.19 kB / 401.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.832e-05/0.09806, allocations: 40.12 kB / 401.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009466/0.099, allocations: 0.5215 MB / 402.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.09902, allocations: 0 / 402.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.09906, allocations: 16 kB / 402.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.09907, allocations: 8 kB / 402.3 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008859/0.09996, allocations: 371.7 kB / 402.6 MB, free: 13.97 MB / 334.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.002173/0.1021, allocations: 1.41 MB / 404 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008976/0.103, allocations: 440.5 kB / 404.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004272/0.1035, allocations: 196.7 kB / 404.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.981e-05/0.1035, allocations: 4 kB / 404.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1035, allocations: 38.56 kB / 404.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=43): time 1.553e-06/0.1035, allocations: 4 kB / 404.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.008017/0.1115, allocations: 2.945 MB / 407.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002678/0.1142, allocations: 2.471 MB / 410.1 MB, free: 5.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006636/0.1149, allocations: 482.1 kB / 410.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/0.115, allocations: 37.7 kB / 410.6 MB, free: 5.457 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.1152, allocations: 256.8 kB / 410.9 MB, free: 5.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.1154, allocations: 222.1 kB / 411.1 MB, free: 4.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002152/0.1156, allocations: 114.2 kB / 411.2 MB, free: 4.863 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.1158, allocations: 370.8 kB / 411.6 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007197/0.1165, allocations: 285 kB / 411.9 MB, free: 4.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/0.1174, allocations: 448.5 kB / 412.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.1188, allocations: 0.6234 MB / 412.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1188, allocations: 0 / 412.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002118/0.1209, allocations: 0.9017 MB / 413.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.246e-05/0.121, allocations: 41.73 kB / 413.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.121, allocations: 0 / 413.9 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003853/0.1214, allocations: 175.2 kB / 414 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000674/0.122, allocations: 143.8 kB / 414.2 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006151/0.1282, allocations: 6.106 MB / 420.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007735/0.129, allocations: 55.94 kB / 420.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.874e-05/0.129, allocations: 23.92 kB / 420.4 MB, free: 11.05 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 (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.000295/0.1293, allocations: 193.7 kB / 420.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1294, allocations: 67.58 kB / 420.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.1296, allocations: 73.61 kB / 420.7 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.1296, allocations: 4 kB / 420.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1296, allocations: 0 / 420.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002187/0.1318, allocations: 1.196 MB / 421.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003478/0.1353, allocations: 1.866 MB / 423.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.1353, allocations: 0 / 423.7 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/0.1359, allocations: 131.8 kB / 423.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004965/0.1364, allocations: 210.5 kB / 424.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.1364, allocations: 12 kB / 424.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005333/0.1418, allocations: 5.146 MB / 429.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001611/0.1434, allocations: 1.746 MB / 431 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.1464, allocations: 1.353 MB / 432.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.1467, allocations: 208.5 kB / 432.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.123e-05/0.1468, allocations: 12 kB / 432.6 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/0.1474, allocations: 52.09 kB / 432.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.1475, allocations: 60.42 kB / 432.7 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.1476, allocations: 19.98 kB / 432.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003967/0.148, allocations: 338.9 kB / 433 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.148, allocations: 0 / 433 MB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006699/0.1486, allocations: 204 kB / 433.2 MB, free: 13.37 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.003411/0.152, allocations: 1.924 MB / 435.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002395/0.1544, allocations: 1.197 MB / 436.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1544, allocations: 0 / 436.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.1559, allocations: 0.7217 MB / 437.1 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007294/0.1566, allocations: 162 kB / 437.2 MB, free: 9.227 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.1669, allocations: 6.181 MB / 443.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005266/0.1674, allocations: 0.8765 MB / 444.3 MB, free: 2.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.1677, allocations: 77.03 kB / 444.3 MB, free: 1.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.1681, allocations: 215.4 kB / 444.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1681, allocations: 0 / 444.6 MB, free: 1.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2089/0.377, allocations: 18.41 MB / 463 MB, free: 66.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.81/13.19, allocations: 3.406 kB / 463 MB, free: 66.19 MB / 382.1 MB " [Timeout remaining time 647] (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.41010073502548] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.362654403026681 13.37665706 13.278747436 Calling exit ...