Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.00158/0.00158, allocations: 110.5 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.001928/0.001928, allocations: 213.2 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.035 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.SimpleCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.001922/0.001922, allocations: 60.77 kB / 378.5 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2556, allocations: 53.37 MB / 431.9 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.004932/0.2606, allocations: 3.538 MB / 435.4 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001858/0.2624, allocations: 1 MB / 436.4 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.2626, allocations: 11.94 kB / 436.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.263, allocations: 99.12 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000388/0.2633, allocations: 194.4 kB / 436.7 MB, free: 2.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002754/0.2636, allocations: 123.8 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007649/0.2644, allocations: 0.638 MB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.2646, allocations: 135.5 kB / 437.6 MB, free: 1.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.2649, allocations: 243.1 kB / 437.9 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.2653, allocations: 274.9 kB / 438.1 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.391e-05/0.2654, allocations: 52 kB / 438.2 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.73e-05/0.2655, allocations: 52 kB / 438.2 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2656, allocations: 123.5 kB / 438.4 MB, free: 420 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.2659, allocations: 294.6 kB / 438.6 MB, free: 124 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008183/0.2667, allocations: 0.6507 MB / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2667, allocations: 0 / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2667, allocations: 0 / 439.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.2667, allocations: 0 / 439.3 MB, free: 15.47 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001514/0.2682, allocations: 0.7812 MB / 440.1 MB, free: 14.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.2683, allocations: 8.031 kB / 440.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.2684, allocations: 83.7 kB / 440.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.2685, allocations: 64.56 kB / 440.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.2692, allocations: 337.5 kB / 440.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.2694, allocations: 118.7 kB / 440.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.2694, allocations: 32.38 kB / 440.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008139/0.2702, allocations: 470 kB / 441.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/0.2703, allocations: 4 kB / 441.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.258e-05/0.2703, allocations: 20 kB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.2703, allocations: 8 kB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.2709, allocations: 287.8 kB / 441.5 MB, free: 13.14 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.002187/0.2731, allocations: 1.266 MB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.2743, allocations: 343.3 kB / 443.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.2745, allocations: 128.8 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.2746, allocations: 4 kB / 443.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.2746, allocations: 38.56 kB / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=32): time 2.936e-06/0.2746, allocations: 96 / 443.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00115/0.2758, allocations: 468 kB / 443.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002678/0.276, allocations: 448.9 kB / 444.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.2766, allocations: 450 kB / 444.6 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/0.2766, allocations: 37.7 kB / 444.6 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.2768, allocations: 228.7 kB / 444.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.2769, allocations: 119 kB / 445 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.2771, allocations: 78.02 kB / 445 MB, free: 9.328 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.2772, allocations: 358.8 kB / 445.4 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.2775, allocations: 104.6 kB / 445.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.2779, allocations: 252.1 kB / 445.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.2784, allocations: 277.2 kB / 446 MB, free: 8.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2784, allocations: 0 / 446 MB, free: 8.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007654/0.2792, allocations: 428.5 kB / 446.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.2792, allocations: 29.7 kB / 446.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2792, allocations: 0 / 446.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001717/0.2794, allocations: 57.62 kB / 446.5 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/0.2797, allocations: 67.89 kB / 446.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002724/0.2825, allocations: 2.758 MB / 449.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003809/0.2828, allocations: 55.84 kB / 449.4 MB, free: 4.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.2829, allocations: 12 kB / 449.4 MB, free: 4.637 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 (36): * Single equations (assignments): 33 * 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.0002302/0.2831, allocations: 179.4 kB / 449.6 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.574e-05/0.2832, allocations: 47.72 kB / 449.6 MB, free: 4.406 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2833, allocations: 56.62 kB / 449.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.2833, allocations: 7.938 kB / 449.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.2833, allocations: 0 / 449.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007599/0.2841, allocations: 0.6456 MB / 450.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.2854, allocations: 0.8831 MB / 451.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2854, allocations: 0 / 451.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.2858, allocations: 67.91 kB / 451.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.2858, allocations: 4 kB / 451.3 MB, free: 2.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.2858, allocations: 7.984 kB / 451.3 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2858, allocations: 4 kB / 451.3 MB, free: 2.57 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2858, allocations: 4 kB / 451.3 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008821/0.2867, allocations: 0.5175 MB / 451.8 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.2869, allocations: 87.58 kB / 451.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.368e-05/0.2869, allocations: 12 kB / 451.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.2872, allocations: 15.98 kB / 451.9 MB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.5e-05/0.2873, allocations: 16.03 kB / 451.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.2873, allocations: 15.98 kB / 452 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003947/0.2877, allocations: 323.1 kB / 452.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2877, allocations: 0 / 452.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004251/0.2881, allocations: 131.9 kB / 452.4 MB, free: 1.453 MB / 350.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 (32): * Single equations (assignments): 32 * 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.001216/0.2893, allocations: 1.076 MB / 453.5 MB, free: 360 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009726/0.2903, allocations: 0.5358 MB / 454 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.2903, allocations: 4 kB / 454 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.2906, allocations: 124.3 kB / 454.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.2912, allocations: 136.5 kB / 454.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006126/0.2973, allocations: 4.272 MB / 458.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004674/0.2978, allocations: 0.8159 MB / 459.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000252/0.298, allocations: 68.33 kB / 459.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002414/0.2983, allocations: 159.4 kB / 459.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2983, allocations: 0 / 459.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05054/0.3488, allocations: 13 MB / 472.6 MB, free: 13.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.86, allocations: 4 kB / 472.6 MB, free: 13.35 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.208965236321092] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 12.968760075978935 12.999004351 12.726746603 Calling exit ...