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.00217/0.00217, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.00231/0.00231, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.47/1.47, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.002145/0.002145, allocations: 67.89 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1091, allocations: 53.32 MB / 427 MB, free: 4.812 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004348/0.1134, allocations: 2.901 MB / 429.9 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.1158, allocations: 1.406 MB / 431.3 MB, free: 492 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.116, allocations: 7.938 kB / 431.3 MB, free: 484 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005468/0.1165, allocations: 179.1 kB / 431.5 MB, free: 304 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005562/0.1171, allocations: 250.6 kB / 431.7 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1984/0.3155, allocations: 132 kB / 431.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000738/0.3162, allocations: 462.7 kB / 432.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.3164, allocations: 69.19 kB / 432.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3166, allocations: 196.5 kB / 432.6 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.3168, allocations: 216.9 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.603e-05/0.3169, allocations: 30.22 kB / 432.8 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.3171, allocations: 73.97 kB / 432.9 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.449e-05/0.3172, allocations: 83.39 kB / 433 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001587/0.3173, allocations: 196.2 kB / 433.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004698/0.3178, allocations: 0.4912 MB / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3178, allocations: 0 / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3178, allocations: 0 / 433.6 MB, free: 7.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3178, allocations: 0 / 433.6 MB, free: 7.504 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.0008298/0.3186, allocations: 0.7186 MB / 434.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.3187, allocations: 12.12 kB / 434.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.897e-05/0.3187, allocations: 58.78 kB / 434.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/0.3188, allocations: 48.28 kB / 434.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.3192, allocations: 355.1 kB / 434.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.3192, allocations: 18.45 kB / 434.8 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.3193, allocations: 22.41 kB / 434.9 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004021/0.3197, allocations: 306.9 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3197, allocations: 0.5938 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.3197, allocations: 15.75 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3197, allocations: 5.562 kB / 435.2 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.32, allocations: 150.8 kB / 435.3 MB, free: 6.516 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.001127/0.3211, allocations: 0.8328 MB / 436.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003589/0.3215, allocations: 172.9 kB / 436.3 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.3216, allocations: 73.42 kB / 436.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.3216, allocations: 8.766 kB / 436.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002338/0.3219, allocations: 139.8 kB / 436.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.462e-06/0.3219, allocations: 0 / 436.5 MB, free: 6.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.0007852/0.3227, allocations: 401.8 kB / 436.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.717e-05/0.3227, allocations: 317.5 kB / 437.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004348/0.3232, allocations: 442.4 kB / 437.7 MB, free: 5.391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.3232, allocations: 32.98 kB / 437.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3233, allocations: 210.3 kB / 437.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.3234, allocations: 82.34 kB / 438 MB, free: 5.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/0.3234, allocations: 56.36 kB / 438.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.3235, allocations: 350.5 kB / 438.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.3236, allocations: 67.58 kB / 438.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/0.3238, allocations: 176.9 kB / 438.6 MB, free: 4.754 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.3241, allocations: 175.2 kB / 438.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3241, allocations: 3.375 kB / 438.8 MB, free: 4.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004186/0.3245, allocations: 275.5 kB / 439.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3245, allocations: 9.406 kB / 439.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3245, allocations: 2 kB / 439.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000127/0.3247, allocations: 33.69 kB / 439.1 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/0.3249, allocations: 52.67 kB / 439.2 MB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/0.326, allocations: 1.572 MB / 440.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.3262, allocations: 30.56 kB / 440.8 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.3262, allocations: 11.86 kB / 440.8 MB, free: 3.117 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.0001432/0.3263, allocations: 163.1 kB / 440.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.3264, allocations: 49.44 kB / 441 MB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.074e-05/0.3265, allocations: 46.03 kB / 441 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3265, allocations: 7.578 kB / 441 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3265, allocations: 0.7969 kB / 441 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003835/0.3269, allocations: 0.578 MB / 441.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008318/0.3277, allocations: 0.7065 MB / 442.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3277, allocations: 1.188 kB / 442.3 MB, free: 1.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.3279, allocations: 49.2 kB / 442.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3279, allocations: 5.109 kB / 442.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.3279, allocations: 2.891 kB / 442.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3279, allocations: 1.906 kB / 442.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3279, allocations: 3.844 kB / 442.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.3284, allocations: 411.9 kB / 442.8 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.3285, allocations: 136.8 kB / 442.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.3286, allocations: 8.156 kB / 442.9 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.3288, allocations: 15.59 kB / 443 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.3288, allocations: 16.12 kB / 443 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.3288, allocations: 11.06 kB / 443 MB, free: 1.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003053/0.3291, allocations: 313.7 kB / 443.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3291, allocations: 1.125 kB / 443.3 MB, free: 1.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003822/0.3295, allocations: 97.39 kB / 443.4 MB, free: 1.297 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.001996/0.3315, allocations: 1.262 MB / 444.6 MB, free: 464 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.3321, allocations: 296.6 kB / 444.9 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3321, allocations: 1.031 kB / 444.9 MB, free: 296 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.3323, allocations: 77.88 kB / 445 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.3329, allocations: 108.2 kB / 445.1 MB, free: 236 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004558/0.3374, allocations: 3.391 MB / 448.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.3379, allocations: 0.8008 MB / 449.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001888/0.338, allocations: 47.84 kB / 449.4 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.3382, allocations: 126.7 kB / 449.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3382, allocations: 0 / 449.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04457/0.3828, allocations: 10.34 MB / 459.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.31, allocations: 5.438 kB / 459.8 MB, free: 10.34 MB / 366.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.csv --start-time 0 --stop-time 1.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000299581 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: 14.89605336682871] Failed to read output from testmodel.py, exit status != 0: ['time', 'openTank.H', 'openTank.m'] 12.468624067958444 12.493432032 12.171009703 Calling exit ...