Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 108.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 207.2 kB / 22.12 MB, free: 0.9297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 51.92 kB / 343 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2513, allocations: 49.13 MB / 392.1 MB, free: 8.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004826/0.2561, allocations: 5.05 MB / 397.2 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.2584, allocations: 1.361 MB / 398.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.2588, allocations: 15.97 kB / 398.5 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.2592, allocations: 159.6 kB / 398.7 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005736/0.2598, allocations: 337 kB / 399 MB, free: 3.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.2602, allocations: 228.4 kB / 399.2 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.2614, allocations: 1.175 MB / 400.4 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003288/0.2617, allocations: 219.7 kB / 400.6 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004665/0.2622, allocations: 464.3 kB / 401.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.2627, allocations: 0.5048 MB / 401.6 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.2629, allocations: 107.2 kB / 401.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.2631, allocations: 106.2 kB / 401.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.2632, allocations: 218.7 kB / 402 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004309/0.2637, allocations: 0.521 MB / 402.5 MB, free: 1.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.2649, allocations: 1.211 MB / 403.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2649, allocations: 1.281 kB / 403.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2649, allocations: 0 / 403.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.265, allocations: 4.609 kB / 403.8 MB, free: 1.492 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002186/0.2671, allocations: 1.366 MB / 405.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2672, allocations: 10.06 kB / 405.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.547e-05/0.2672, allocations: 22.52 kB / 405.2 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.2674, allocations: 122.3 kB / 405.3 MB, free: 456 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.2675, allocations: 123.2 kB / 405.4 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009302/0.2685, allocations: 0.595 MB / 406 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.2687, allocations: 152.6 kB / 406.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.2688, allocations: 66 kB / 406.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.2703, allocations: 0.8769 MB / 407.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.2703, allocations: 5.094 kB / 407.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.347e-05/0.2704, allocations: 30.31 kB / 407.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.2704, allocations: 17.97 kB / 407.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.2719, allocations: 0.6257 MB / 407.8 MB, free: 15.05 MB / 334.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.003566/0.2755, allocations: 2.199 MB / 410 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.2772, allocations: 0.9638 MB / 410.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008551/0.2781, allocations: 394.6 kB / 411.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/0.2781, allocations: 23.28 kB / 411.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.2782, allocations: 51.25 kB / 411.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.605e-06/0.2782, allocations: 0 / 411.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=136): time 0.01928/0.2975, allocations: 6.639 MB / 418 MB, free: 8.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00845/0.3059, allocations: 4.891 MB / 422.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009872/0.3069, allocations: 0.6373 MB / 423.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003111/0.3072, allocations: 53.7 kB / 423.6 MB, free: 3.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.3075, allocations: 345.9 kB / 423.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004865/0.308, allocations: 487.8 kB / 424.4 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004453/0.3084, allocations: 234.9 kB / 424.6 MB, free: 2.867 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002194/0.3087, allocations: 406.7 kB / 425 MB, free: 2.461 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001564/0.3102, allocations: 0.6663 MB / 425.7 MB, free: 1.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.312, allocations: 0.9874 MB / 426.7 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003005/0.315, allocations: 1.47 MB / 428.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3151, allocations: 4 kB / 428.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006409/0.3215, allocations: 2.366 MB / 430.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.267e-05/0.3215, allocations: 85.11 kB / 430.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.3215, allocations: 0 / 430.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00267/0.3242, allocations: 0.7597 MB / 431.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.3253, allocations: 239.6 kB / 431.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/0.3431, allocations: 14.26 MB / 445.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.3453, allocations: 199.8 kB / 446.1 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/0.3455, allocations: 47.95 kB / 446.1 MB, free: 12.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (115): * Single equations (assignments): 102 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,3,88.9%), (1,3,100.0%), (1,7,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (3,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005234/0.346, allocations: 257.6 kB / 446.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.3462, allocations: 111.3 kB / 446.5 MB, free: 11.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.3465, allocations: 126.3 kB / 446.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006107/0.3526, allocations: 2.193 MB / 448.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3526, allocations: 0 / 448.8 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006008/0.3586, allocations: 2.55 MB / 451.3 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.3687, allocations: 4.513 MB / 455.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.3687, allocations: 0 / 455.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009847/0.3697, allocations: 215.7 kB / 456.1 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00386/0.3735, allocations: 1.132 MB / 457.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.3736, allocations: 35.95 kB / 457.2 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/0.3935, allocations: 13.36 MB / 470.6 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007309/0.4008, allocations: 3.82 MB / 474.4 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008348/0.4091, allocations: 3.325 MB / 477.7 MB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009017/0.41, allocations: 344.2 kB / 478.1 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001702/0.4102, allocations: 28 kB / 478.1 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.4116, allocations: 119.8 kB / 478.2 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004439/0.412, allocations: 153 kB / 478.4 MB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-05/0.4121, allocations: 35.97 kB / 478.4 MB, free: 10.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005948/0.4127, allocations: 463 kB / 478.8 MB, free: 9.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4127, allocations: 0 / 478.8 MB, free: 9.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001739/0.4144, allocations: 0.5781 MB / 479.4 MB, free: 9.418 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],heatCapacitor1.T,heatCapacitor2.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 (97): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,3,100.0%), (3,3,88.9%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00839/0.4228, allocations: 3.919 MB / 483.3 MB, free: 5.449 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00501/0.4278, allocations: 2.759 MB / 486.1 MB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.4278, allocations: 0 / 486.1 MB, free: 2.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004039/0.4319, allocations: 1.835 MB / 487.9 MB, free: 0.6328 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/0.4333, allocations: 259.1 kB / 488.2 MB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02401/0.4573, allocations: 11.99 MB / 0.4885 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000769/0.4581, allocations: 1.057 MB / 0.4895 GB, free: 3.086 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007243/0.4588, allocations: 156.5 kB / 0.4896 GB, free: 2.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006835/0.4595, allocations: 411.2 kB / 0.49 GB, free: 2.527 MB / 414.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4595, allocations: 0 / 0.49 GB, free: 2.527 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/0.5631, allocations: 40.76 MB / 0.5298 GB, free: 9.656 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.73, allocations: 8 kB / 0.5298 GB, free: 9.648 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.993510639003944] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.90114855201682 14.921982542 14.653045365 Calling exit ...