Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001819/0.001819, allocations: 118.6 kB / 18.5 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.002246/0.002246, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.432/1.432, allocations: 230.5 MB / 254.7 MB, free: 14.99 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.ParallelCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",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.001913/0.001913, allocations: 63.89 kB / 373.6 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.11, allocations: 53.32 MB / 426.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.2079/0.3179, allocations: 4.975 MB / 431.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002345/0.3203, allocations: 1.317 MB / 433.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.3207, allocations: 11.22 kB / 433.2 MB, free: 7.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.3211, allocations: 162.2 kB / 433.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006054/0.3217, allocations: 330.3 kB / 433.7 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.3221, allocations: 227 kB / 433.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009693/0.3231, allocations: 1.157 MB / 435 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003152/0.3234, allocations: 233.9 kB / 435.3 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004079/0.3238, allocations: 444.5 kB / 435.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005412/0.3243, allocations: 0.504 MB / 436.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.3245, allocations: 101.4 kB / 436.3 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.3247, allocations: 103.8 kB / 436.4 MB, free: 6.375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.3248, allocations: 223.6 kB / 436.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004411/0.3253, allocations: 0.5174 MB / 437.1 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.3266, allocations: 1.178 MB / 438.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3266, allocations: 1.156 kB / 438.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3266, allocations: 0 / 438.3 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.3266, allocations: 0 / 438.3 MB, free: 5.918 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002302/0.3289, allocations: 1.341 MB / 439.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3289, allocations: 13.92 kB / 439.7 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001648/0.3291, allocations: 122 kB / 439.8 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.3293, allocations: 115.2 kB / 439.9 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008617/0.3302, allocations: 0.5544 MB / 440.5 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001752/0.3303, allocations: 143.9 kB / 440.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3304, allocations: 61.81 kB / 440.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.3317, allocations: 0.8596 MB / 441.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.3317, allocations: 4.562 kB / 441.5 MB, free: 3.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.165e-05/0.3317, allocations: 28.03 kB / 441.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.3318, allocations: 14.66 kB / 441.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.3329, allocations: 0.5646 MB / 442.1 MB, free: 3.547 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.003435/0.3363, allocations: 2.134 MB / 444.3 MB, free: 2.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.3379, allocations: 0.9203 MB / 445.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006396/0.3386, allocations: 338 kB / 445.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.758e-05/0.3386, allocations: 16.66 kB / 445.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.3387, allocations: 54.44 kB / 445.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.875e-06/0.3387, allocations: 0 / 445.6 MB, free: 1.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004796/0.3435, allocations: 1.739 MB / 447.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002935/0.3438, allocations: 0.8232 MB / 448.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009669/0.3447, allocations: 0.6333 MB / 448.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.562e-05/0.3448, allocations: 45.52 kB / 448.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.3451, allocations: 343.6 kB / 449.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/0.3454, allocations: 265.8 kB / 449.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.3457, allocations: 149.4 kB / 449.6 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.3459, allocations: 386 kB / 449.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.3465, allocations: 243.4 kB / 450.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009569/0.3474, allocations: 0.5334 MB / 450.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.3487, allocations: 0.6368 MB / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3487, allocations: 1.641 kB / 451.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002603/0.3513, allocations: 1.048 MB / 452.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-05/0.3514, allocations: 85.78 kB / 452.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.3514, allocations: 1.672 kB / 452.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/0.3521, allocations: 233.8 kB / 452.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005557/0.3526, allocations: 128.1 kB / 452.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00871/0.3613, allocations: 6.922 MB / 459.8 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.3624, allocations: 96.05 kB / 459.9 MB, free: 6.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.134e-05/0.3625, allocations: 22.69 kB / 459.9 MB, free: 6.688 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000426/0.3629, allocations: 223.8 kB / 460.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.3631, allocations: 92.55 kB / 460.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.3633, allocations: 93.72 kB / 460.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3633, allocations: 7.062 kB / 460.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.3633, allocations: 3.859 kB / 460.3 MB, free: 6.391 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002274/0.3656, allocations: 1.18 MB / 461.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.3695, allocations: 1.879 MB / 463.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.3695, allocations: 0.75 kB / 463.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.3701, allocations: 125 kB / 463.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005178/0.3706, allocations: 198.2 kB / 463.7 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.3706, allocations: 24.17 kB / 463.7 MB, free: 4.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006568/0.3772, allocations: 5.314 MB / 469 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3772, allocations: 2.859 kB / 469 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.3804, allocations: 1.309 MB / 470.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/0.381, allocations: 250.2 kB / 470.6 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.3811, allocations: 23.42 kB / 470.6 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006121/0.3817, allocations: 43.34 kB / 470.6 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.3819, allocations: 54.33 kB / 470.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.382, allocations: 18.03 kB / 470.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000686/0.3827, allocations: 462.8 kB / 471.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3827, allocations: 0 / 471.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001012/0.3837, allocations: 280.7 kB / 471.4 MB, free: 14.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003378/0.387, allocations: 1.888 MB / 473.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.3893, allocations: 1.26 MB / 474.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/0.3893, allocations: 2.828 kB / 474.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.3903, allocations: 0.6778 MB / 475.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.3915, allocations: 241.9 kB / 475.5 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01318/0.4047, allocations: 7.416 MB / 482.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.4054, allocations: 0.94 MB / 483.8 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005625/0.4059, allocations: 106.4 kB / 484 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/0.4064, allocations: 299.3 kB / 484.2 MB, free: 4.242 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4064, allocations: 0 / 484.2 MB, free: 4.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07285/0.4792, allocations: 25.6 MB / 0.4979 GB, free: 11.07 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.68, allocations: 4.25 kB / 0.4979 GB, free: 11.07 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.03510952135548] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 13.78219205699861 13.798550235 13.468490511 Calling exit ...