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.001744/0.001744, allocations: 120 kB / 18.49 MB, free: 4.566 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.002044/0.002044, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.417/1.417, allocations: 230.4 MB / 254.7 MB, free: 15.2 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.001772/0.001772, allocations: 59.91 kB / 373.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09602, allocations: 53.37 MB / 427 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004829/0.1009, allocations: 3.777 MB / 430.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1026, allocations: 1.036 MB / 431.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002265/0.1028, allocations: 7.938 kB / 431.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.1032, allocations: 114.9 kB / 432 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.1036, allocations: 210.3 kB / 432.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.1039, allocations: 139.8 kB / 432.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007709/0.1046, allocations: 0.7068 MB / 433 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.1049, allocations: 142.8 kB / 433.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002928/0.1052, allocations: 271 kB / 433.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.1055, allocations: 314.6 kB / 433.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.1056, allocations: 60 kB / 433.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.108e-05/0.1057, allocations: 64 kB / 433.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1058, allocations: 123.6 kB / 434 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002827/0.1061, allocations: 322.5 kB / 434.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007348/0.1068, allocations: 0.7198 MB / 435 MB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1068, allocations: 0 / 435 MB, free: 12.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1068, allocations: 0 / 435 MB, free: 12.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1068, allocations: 0 / 435 MB, free: 12.64 MB / 366.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.001599/0.1084, allocations: 0.9283 MB / 435.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1085, allocations: 12.03 kB / 436 MB, free: 11.65 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.415e-05/0.1085, allocations: 21.16 kB / 436 MB, free: 11.63 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.1086, allocations: 91.66 kB / 436.1 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1087, allocations: 72.52 kB / 436.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.1095, allocations: 443.1 kB / 436.6 MB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.1096, allocations: 63.27 kB / 436.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.1096, allocations: 44.12 kB / 436.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.1105, allocations: 0.5098 MB / 437.2 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.1105, allocations: 7.938 kB / 437.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.1106, allocations: 16 kB / 437.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.1106, allocations: 12 kB / 437.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008688/0.1115, allocations: 363.8 kB / 437.6 MB, free: 9.918 MB / 366.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.002273/0.1137, allocations: 1.398 MB / 439 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008777/0.1146, allocations: 443.7 kB / 439.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.115, allocations: 196.7 kB / 439.6 MB, free: 7.773 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.1151, allocations: 8 kB / 439.6 MB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.1151, allocations: 46.5 kB / 439.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.1151, allocations: 0 / 439.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.008343/0.1235, allocations: 2.947 MB / 442.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002598/0.1261, allocations: 2.469 MB / 445.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005943/0.1267, allocations: 482.1 kB / 445.5 MB, free: 1.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.33e-05/0.1267, allocations: 37.7 kB / 445.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.1269, allocations: 245 kB / 445.8 MB, free: 1.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.1271, allocations: 226 kB / 446 MB, free: 0.957 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.1274, allocations: 114.2 kB / 446.1 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1275, allocations: 366.8 kB / 446.5 MB, free: 484 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007407/0.1283, allocations: 285 kB / 446.8 MB, free: 196 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1708/0.2991, allocations: 443.9 kB / 447.2 MB, free: 23.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.3006, allocations: 0.6266 MB / 447.8 MB, free: 23.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3006, allocations: 0 / 447.8 MB, free: 23.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002009/0.3026, allocations: 0.9032 MB / 448.7 MB, free: 23.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.3026, allocations: 33.42 kB / 448.8 MB, free: 23.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3026, allocations: 3.719 kB / 448.8 MB, free: 23.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.303, allocations: 171.4 kB / 448.9 MB, free: 23.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006844/0.3036, allocations: 144.3 kB / 449.1 MB, free: 23.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003824/0.3075, allocations: 6.113 MB / 455.2 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007697/0.3082, allocations: 56.84 kB / 455.3 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.3083, allocations: 19.77 kB / 455.3 MB, free: 18.14 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.0002431/0.3085, allocations: 193.1 kB / 455.5 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3086, allocations: 65.48 kB / 455.5 MB, free: 17.99 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/0.3088, allocations: 77.06 kB / 455.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3088, allocations: 8.125 kB / 455.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3088, allocations: 1.438 kB / 455.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001935/0.3107, allocations: 1.199 MB / 456.8 MB, free: 17.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/0.3141, allocations: 1.856 MB / 458.7 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3141, allocations: 0 / 458.7 MB, free: 16.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.3147, allocations: 135.2 kB / 458.8 MB, free: 16.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004765/0.3152, allocations: 210.4 kB / 459 MB, free: 16.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.15e-05/0.3152, allocations: 14.66 kB / 459 MB, free: 16.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/0.3191, allocations: 5.15 MB / 464.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001203/0.3203, allocations: 1.746 MB / 465.9 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.3231, allocations: 1.347 MB / 467.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.3234, allocations: 202.3 kB / 467.5 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.358e-05/0.3235, allocations: 16.47 kB / 467.5 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006061/0.3241, allocations: 51.52 kB / 467.5 MB, free: 8.953 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001954/0.3243, allocations: 61.52 kB / 467.6 MB, free: 8.938 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.3244, allocations: 17.09 kB / 467.6 MB, free: 8.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004081/0.3248, allocations: 337.7 kB / 467.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3248, allocations: 2.062 kB / 467.9 MB, free: 8.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007968/0.3256, allocations: 210.1 kB / 468.1 MB, free: 8.746 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.003204/0.3288, allocations: 1.919 MB / 470.1 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002248/0.331, allocations: 1.196 MB / 471.3 MB, free: 6.844 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.331, allocations: 5.281 kB / 471.3 MB, free: 6.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.3324, allocations: 0.719 MB / 472 MB, free: 6.371 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.3332, allocations: 154.8 kB / 472.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009717/0.3429, allocations: 6.188 MB / 478.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.3433, allocations: 0.8764 MB / 479.2 MB, free: 2.344 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000453/0.3438, allocations: 78.22 kB / 479.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/0.3441, allocations: 218.8 kB / 479.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.3441, allocations: 0 / 479.5 MB, free: 2.18 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05392/0.398, allocations: 18.41 MB / 497.9 MB, free: 7.301 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/12.97, allocations: 14.64 kB / 497.9 MB, free: 7.289 MB / 382.1 MB " [Timeout remaining time 647] (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.36178189900238] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.13024026399944 13.14380853 13.034150276 Calling exit ...