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.001844/0.001844, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.0021/0.0021, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.421/1.421, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.001908/0.001908, allocations: 67.89 kB / 373.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1124, allocations: 53.32 MB / 426.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004646/0.1171, allocations: 2.88 MB / 429.8 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.1196, allocations: 1.414 MB / 431.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002357/0.1198, allocations: 4 kB / 431.2 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005674/0.1204, allocations: 179.1 kB / 431.3 MB, free: 408 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005966/0.121, allocations: 250.6 kB / 431.6 MB, free: 156 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.1214, allocations: 147.5 kB / 431.7 MB, free: 8 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2102/0.3316, allocations: 449 kB / 432.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.3318, allocations: 67.53 kB / 432.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003158/0.3321, allocations: 185.5 kB / 432.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002812/0.3324, allocations: 219.6 kB / 432.6 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.3325, allocations: 29.81 kB / 432.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002008/0.3327, allocations: 68.97 kB / 432.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.348e-05/0.3328, allocations: 90.75 kB / 432.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.3329, allocations: 206.3 kB / 433 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.3335, allocations: 489.9 kB / 433.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.3335, allocations: 1.219 kB / 433.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3335, allocations: 0 / 433.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3335, allocations: 2.484 kB / 433.5 MB, free: 7.496 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009806/0.3345, allocations: 0.7164 MB / 434.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3345, allocations: 9.281 kB / 434.2 MB, free: 6.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.877e-05/0.3346, allocations: 64.55 kB / 434.3 MB, free: 6.918 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.449e-05/0.3347, allocations: 48.3 kB / 434.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.3352, allocations: 353.9 kB / 434.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3352, allocations: 17.53 kB / 434.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.515e-05/0.3352, allocations: 22.09 kB / 434.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.3357, allocations: 305.6 kB / 435 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.3357, allocations: 2.219 kB / 435 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.3357, allocations: 12.69 kB / 435 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.3357, allocations: 5.312 kB / 435 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.336, allocations: 148.2 kB / 435.2 MB, free: 6.508 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.001159/0.3371, allocations: 0.8384 MB / 436 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003599/0.3375, allocations: 176.5 kB / 436.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.3376, allocations: 74.77 kB / 436.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/0.3377, allocations: 7.094 kB / 436.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/0.3379, allocations: 129.8 kB / 436.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.773e-06/0.3379, allocations: 0 / 436.4 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007964/0.3387, allocations: 408.3 kB / 436.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/0.3388, allocations: 314 kB / 437.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.3392, allocations: 439.4 kB / 437.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.3392, allocations: 32.39 kB / 437.6 MB, free: 5.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3394, allocations: 213.1 kB / 437.8 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.3394, allocations: 84.39 kB / 437.9 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.446e-05/0.3395, allocations: 54.69 kB / 437.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.874e-05/0.3396, allocations: 353.1 kB / 438.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.3397, allocations: 63.48 kB / 438.3 MB, free: 4.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001936/0.3399, allocations: 183.9 kB / 438.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.3402, allocations: 178.8 kB / 438.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3402, allocations: 0 / 438.7 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004514/0.3406, allocations: 278.2 kB / 438.9 MB, free: 4.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3406, allocations: 5.859 kB / 439 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3407, allocations: 1.062 kB / 439 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.3408, allocations: 34.66 kB / 439 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000218/0.341, allocations: 55.86 kB / 439 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.3422, allocations: 1.572 MB / 440.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002232/0.3424, allocations: 30.75 kB / 440.6 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3424, allocations: 7.531 kB / 440.6 MB, free: 3.145 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.0001772/0.3426, allocations: 167.4 kB / 440.8 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3427, allocations: 46.31 kB / 440.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.395e-05/0.3427, allocations: 47.41 kB / 440.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3427, allocations: 2 kB / 440.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3427, allocations: 5.281 kB / 440.9 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003787/0.3431, allocations: 0.5784 MB / 441.5 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000825/0.3439, allocations: 0.705 MB / 442.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3439, allocations: 0 / 442.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002019/0.3442, allocations: 49.62 kB / 442.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3442, allocations: 1.438 kB / 442.2 MB, free: 1.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.3442, allocations: 10.62 kB / 442.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3442, allocations: 1.719 kB / 442.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3442, allocations: 4 kB / 442.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004904/0.3447, allocations: 411.5 kB / 442.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.3448, allocations: 137.3 kB / 442.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.3448, allocations: 7.031 kB / 442.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.345, allocations: 12.81 kB / 442.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.3451, allocations: 19.28 kB / 442.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3451, allocations: 7 kB / 442.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000311/0.3454, allocations: 323.6 kB / 443.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3454, allocations: 0 / 443.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000401/0.3458, allocations: 94.5 kB / 443.3 MB, free: 1.328 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.001958/0.3478, allocations: 1.257 MB / 444.5 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005919/0.3484, allocations: 300.3 kB / 444.8 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3484, allocations: 1.031 kB / 444.8 MB, free: 336 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001873/0.3486, allocations: 74.33 kB / 444.9 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006096/0.3492, allocations: 105.3 kB / 445 MB, free: 272 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.3541, allocations: 3.401 MB / 448.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.3547, allocations: 0.7991 MB / 449.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.3549, allocations: 44.25 kB / 449.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.3551, allocations: 127.1 kB / 449.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3551, allocations: 0 / 449.3 MB, free: 13.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/0.3994, allocations: 10.35 MB / 459.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/12.64, allocations: 12.05 kB / 459.7 MB, free: 10.41 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.010117718949914] Failed to read output from testmodel.py, exit status != 0: ['time', 'openTank.H', 'openTank.m'] 12.79086036933586 12.80426312 12.467851005 Calling exit ...