Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.00137/0.00137, allocations: 118.6 kB / 18.5 MB, free: 4.602 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.001492/0.001492, allocations: 206.6 kB / 21.45 MB, free: 1.652 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.482/1.482, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.OneMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",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.001968/0.001968, allocations: 71.81 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1083, allocations: 53.32 MB / 427 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005392/0.1136, allocations: 3.704 MB / 430.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1157, allocations: 1.02 MB / 431.7 MB, free: 60 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002254/0.1159, allocations: 11.94 kB / 431.7 MB, free: 48 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.215/0.331, allocations: 98.11 kB / 431.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007714/0.3317, allocations: 196.3 kB / 432 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3321, allocations: 132.7 kB / 432.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007635/0.3329, allocations: 0.6835 MB / 432.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.3331, allocations: 130 kB / 433 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002716/0.3334, allocations: 265.2 kB / 433.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000292/0.3337, allocations: 297.1 kB / 433.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.964e-05/0.3337, allocations: 57.12 kB / 433.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.3338, allocations: 61 kB / 433.6 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.732e-05/0.3339, allocations: 124.9 kB / 433.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.3341, allocations: 315.7 kB / 434 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007016/0.3348, allocations: 0.6874 MB / 434.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3348, allocations: 3.188 kB / 434.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3348, allocations: 1.062 kB / 434.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.3348, allocations: 0 / 434.7 MB, free: 7.246 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.00156/0.3364, allocations: 0.9079 MB / 435.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3364, allocations: 10.81 kB / 435.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3366, allocations: 78.39 kB / 435.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.3367, allocations: 70.31 kB / 435.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000743/0.3374, allocations: 441.1 kB / 436.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/0.3375, allocations: 62.39 kB / 436.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.618e-05/0.3376, allocations: 32.72 kB / 436.3 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008659/0.3385, allocations: 495.3 kB / 436.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.3385, allocations: 2 kB / 436.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.3385, allocations: 17.34 kB / 436.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.3386, allocations: 7.375 kB / 436.8 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009586/0.3395, allocations: 342.2 kB / 437.2 MB, free: 6.078 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.002166/0.3417, allocations: 1.298 MB / 438.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00065/0.3423, allocations: 358.2 kB / 438.8 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003911/0.3427, allocations: 168.4 kB / 439 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.162e-05/0.3428, allocations: 6.781 kB / 439 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.3428, allocations: 43.2 kB / 439 MB, free: 5.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.3428, allocations: 0 / 439 MB, free: 5.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00163/0.3444, allocations: 0.7234 MB / 439.8 MB, free: 4.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.3445, allocations: 444.1 kB / 440.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005026/0.345, allocations: 461.9 kB / 440.6 MB, free: 4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.3451, allocations: 33.61 kB / 440.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/0.3452, allocations: 246.1 kB / 440.9 MB, free: 3.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.3453, allocations: 129.4 kB / 441 MB, free: 3.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3454, allocations: 84.62 kB / 441.1 MB, free: 3.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.635e-05/0.3455, allocations: 360.2 kB / 441.5 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003701/0.3459, allocations: 142.2 kB / 441.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.3463, allocations: 279.4 kB / 441.9 MB, free: 3.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.3471, allocations: 338.7 kB / 442.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.3471, allocations: 1.094 kB / 442.2 MB, free: 2.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009856/0.348, allocations: 486.9 kB / 442.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.3481, allocations: 33.67 kB / 442.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.3481, allocations: 1.156 kB / 442.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/0.3483, allocations: 52.95 kB / 442.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.3487, allocations: 83.2 kB / 442.9 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.3509, allocations: 2.97 MB / 445.8 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.3514, allocations: 58.11 kB / 445.9 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.3514, allocations: 11.75 kB / 445.9 MB, free: 15.61 MB / 366.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 (37): * Single equations (assignments): 34 * 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.0002668/0.3517, allocations: 166.2 kB / 446.1 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3518, allocations: 63.11 kB / 446.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3519, allocations: 51.17 kB / 446.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3519, allocations: 3.5 kB / 446.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.3519, allocations: 8.844 kB / 446.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/0.353, allocations: 0.7301 MB / 446.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.3548, allocations: 1.012 MB / 447.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3548, allocations: 0 / 447.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004467/0.3553, allocations: 92.52 kB / 448 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-06/0.3553, allocations: 2.703 kB / 448 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.3553, allocations: 7.938 kB / 448 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3553, allocations: 1.375 kB / 448 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3553, allocations: 1.188 kB / 448 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.3567, allocations: 0.6469 MB / 448.7 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.357, allocations: 171.5 kB / 448.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.049e-05/0.3571, allocations: 15.44 kB / 448.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003795/0.3574, allocations: 26.3 kB / 448.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.3575, allocations: 24.31 kB / 448.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.3576, allocations: 11.58 kB / 448.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004481/0.358, allocations: 326.2 kB / 449.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.358, allocations: 0 / 449.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005303/0.3585, allocations: 135.9 kB / 449.4 MB, free: 13.47 MB / 366.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 (35): * Single equations (assignments): 35 * 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.001773/0.3603, allocations: 1.211 MB / 450.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.3617, allocations: 0.6133 MB / 451.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3617, allocations: 1.281 kB / 451.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004156/0.3621, allocations: 171.4 kB / 451.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/0.3628, allocations: 137.3 kB / 451.5 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007459/0.3703, allocations: 4.529 MB / 456 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000529/0.3708, allocations: 0.8305 MB / 456.9 MB, free: 8.879 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003454/0.3712, allocations: 66.08 kB / 456.9 MB, free: 8.867 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002962/0.3715, allocations: 176.2 kB / 457.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3715, allocations: 4 kB / 457.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0484/0.4199, allocations: 13.77 MB / 470.9 MB, free: 3.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.65/13.07, allocations: 7.938 kB / 470.9 MB, free: 3.07 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.576847904827446] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.168620388954878 13.184010222 12.846094118 Calling exit ...