Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.001678/0.001678, allocations: 105.1 kB / 21.22 MB, free: 0.6797 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.002002/0.002002, allocations: 209.7 kB / 24.54 MB, free: 4.055 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.TestOpenTank,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",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.001993/0.001993, allocations: 68.78 kB / 378.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.271, allocations: 53.37 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004723/0.2758, allocations: 2.912 MB / 434.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002628/0.2784, allocations: 1.43 MB / 436.2 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.2786, allocations: 7.938 kB / 436.2 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.2792, allocations: 175.1 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005992/0.2798, allocations: 250.6 kB / 436.7 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.2801, allocations: 143.6 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006491/0.2808, allocations: 465.9 kB / 437.3 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.281, allocations: 64.33 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.2813, allocations: 195.3 kB / 437.5 MB, free: 1.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.2816, allocations: 219.1 kB / 437.7 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.37e-05/0.2817, allocations: 32 kB / 437.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.2818, allocations: 75.92 kB / 437.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.282, allocations: 87.67 kB / 437.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.2821, allocations: 195 kB / 438.1 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000636/0.2828, allocations: 486.8 kB / 438.6 MB, free: 208 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.2828, allocations: 7.922 kB / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.2828, allocations: 0 / 438.6 MB, free: 200 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2828, allocations: 0 / 438.6 MB, free: 200 kB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001096/0.2839, allocations: 0.6483 MB / 439.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2839, allocations: 12.03 kB / 439.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/0.284, allocations: 59.17 kB / 439.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.2841, allocations: 52.64 kB / 439.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005335/0.2847, allocations: 289 kB / 439.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.2847, allocations: 24.75 kB / 439.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.2847, allocations: 19.94 kB / 439.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.2852, allocations: 305.5 kB / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2853, allocations: 0 / 440 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.2853, allocations: 8 kB / 440 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.2853, allocations: 8 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002997/0.2856, allocations: 145.7 kB / 440.1 MB, free: 14.54 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.001451/0.287, allocations: 0.8042 MB / 440.9 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004198/0.2875, allocations: 171.9 kB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.2876, allocations: 68.83 kB / 441.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.768e-05/0.2876, allocations: 11.94 kB / 441.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.288, allocations: 139.2 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.034e-06/0.288, allocations: 0 / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0009362/0.2889, allocations: 325.7 kB / 441.6 MB, free: 12.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001878/0.2891, allocations: 312.4 kB / 442 MB, free: 12.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005408/0.2896, allocations: 441.6 kB / 442.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.2897, allocations: 37.7 kB / 442.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.2899, allocations: 212.4 kB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.2899, allocations: 79.27 kB / 442.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2901, allocations: 61.64 kB / 442.8 MB, free: 11.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001746/0.2902, allocations: 346.8 kB / 443.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.2904, allocations: 67.91 kB / 443.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.2906, allocations: 176.7 kB / 443.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.2909, allocations: 175.2 kB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2909, allocations: 4 kB / 443.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005207/0.2915, allocations: 278.1 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.2915, allocations: 6.812 kB / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.2915, allocations: 0 / 443.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.2916, allocations: 36.78 kB / 443.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.2919, allocations: 51.97 kB / 443.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.2935, allocations: 1.467 MB / 445.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.2937, allocations: 31.88 kB / 445.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.2938, allocations: 8.094 kB / 445.4 MB, free: 8.902 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000252/0.294, allocations: 175.8 kB / 445.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.2941, allocations: 43.7 kB / 445.6 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.2946, allocations: 265.9 kB / 445.9 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.2946, allocations: 4 kB / 445.9 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.2947, allocations: 4 kB / 445.9 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005707/0.2952, allocations: 0.575 MB / 446.4 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.2963, allocations: 0.6786 MB / 447.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2963, allocations: 0 / 447.1 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.2965, allocations: 48.14 kB / 447.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2965, allocations: 0 / 447.2 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.2965, allocations: 8 kB / 447.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2965, allocations: 0 / 447.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2965, allocations: 7.984 kB / 447.2 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.2971, allocations: 407 kB / 447.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.2973, allocations: 63.7 kB / 447.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.2973, allocations: 4 kB / 447.7 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.2975, allocations: 11.98 kB / 447.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.2976, allocations: 19.97 kB / 447.7 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.2976, allocations: 4 kB / 447.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003563/0.298, allocations: 323.2 kB / 448 MB, free: 6.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.298, allocations: 0 / 448 MB, free: 6.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004151/0.2984, allocations: 95.83 kB / 448.1 MB, free: 6.012 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002385/0.3008, allocations: 1.273 MB / 449.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006791/0.3014, allocations: 290.6 kB / 449.7 MB, free: 4.578 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/0.3014, allocations: 8 kB / 449.7 MB, free: 4.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.3016, allocations: 67.91 kB / 449.7 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005953/0.3022, allocations: 109.5 kB / 449.8 MB, free: 4.398 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004703/0.3069, allocations: 3.402 MB / 453.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.3074, allocations: 0.8037 MB / 454 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.3075, allocations: 46.94 kB / 454.1 MB, free: 0 / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.3077, allocations: 127.5 kB / 454.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.3077, allocations: 3.938 kB / 454.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04523/0.353, allocations: 10.48 MB / 464.7 MB, free: 5.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/12.93, allocations: 3.75 kB / 464.7 MB, free: 5.543 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_fmu --startTime=0 --stopTime=1.5 --stepSize=0.000299581 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.385928003117442] Failed to read output from testmodel.py, exit status != 0: ['time', 'openTank.H', 'openTank.m'] 13.102696164976805 13.117966624 12.831810713 Calling exit ...