Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001489/0.001489, allocations: 121 kB / 18.5 MB, free: 4.562 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.001567/0.001567, allocations: 213.5 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.365/1.365, allocations: 230.6 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+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 47.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09354/0.09535, allocations: 53.32 MB / 427 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.1786/0.274, allocations: 5.07 MB / 432.1 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002303/0.2763, allocations: 1.329 MB / 433.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004336/0.2767, allocations: 12.88 kB / 433.4 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.2772, allocations: 169.1 kB / 433.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006431/0.2779, allocations: 333.5 kB / 433.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003934/0.2783, allocations: 228.1 kB / 434.1 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001065/0.2793, allocations: 1.174 MB / 435.3 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.2797, allocations: 221.1 kB / 435.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004675/0.2801, allocations: 469.3 kB / 436 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005417/0.2807, allocations: 0.5064 MB / 436.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001663/0.2808, allocations: 103.9 kB / 436.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001947/0.281, allocations: 105.8 kB / 436.7 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.2812, allocations: 226.3 kB / 436.9 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.2816, allocations: 0.5205 MB / 437.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.2831, allocations: 1.205 MB / 438.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2831, allocations: 1.641 kB / 438.6 MB, free: 5.953 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2831, allocations: 3.938 kB / 438.7 MB, free: 5.949 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.828e-05/0.2831, allocations: 0 / 438.7 MB, free: 5.949 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002365/0.2855, allocations: 1.365 MB / 440 MB, free: 5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.2855, allocations: 10 kB / 440 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.684e-05/0.2855, allocations: 30.33 kB / 440.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.2857, allocations: 119.3 kB / 440.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.2859, allocations: 117.1 kB / 440.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009035/0.2868, allocations: 0.5925 MB / 440.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001657/0.287, allocations: 152.6 kB / 441 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.617e-05/0.2871, allocations: 76.33 kB / 441.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.2884, allocations: 0.8747 MB / 442 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2884, allocations: 1.766 kB / 442 MB, free: 3.746 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.694e-05/0.2885, allocations: 36.17 kB / 442 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.2885, allocations: 13.59 kB / 442 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.2899, allocations: 0.6264 MB / 442.7 MB, free: 3.535 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.00334/0.2932, allocations: 2.196 MB / 444.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.2947, allocations: 0.9617 MB / 445.8 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/0.2954, allocations: 397.4 kB / 446.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.805e-05/0.2955, allocations: 13.66 kB / 446.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.2955, allocations: 59.19 kB / 446.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.655e-06/0.2955, allocations: 0 / 446.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.01912/0.3146, allocations: 6.643 MB / 452.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.008321/0.323, allocations: 4.888 MB / 457.8 MB, free: 11.17 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/0.3239, allocations: 0.638 MB / 458.4 MB, free: 10.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002606/0.3241, allocations: 55.27 kB / 458.5 MB, free: 10.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/0.3244, allocations: 336 kB / 458.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005064/0.3249, allocations: 492.9 kB / 459.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004341/0.3254, allocations: 227.7 kB / 459.5 MB, free: 9.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002205/0.3256, allocations: 404.5 kB / 459.9 MB, free: 9.523 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001444/0.327, allocations: 0.6731 MB / 460.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.3288, allocations: 0.9832 MB / 461.6 MB, free: 8.535 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/0.3317, allocations: 1.468 MB / 463 MB, free: 7.762 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3317, allocations: 0 / 463 MB, free: 7.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006189/0.3379, allocations: 2.376 MB / 465.4 MB, free: 6.496 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.58e-05/0.338, allocations: 89.47 kB / 465.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.338, allocations: 1.031 kB / 465.5 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.3406, allocations: 0.7556 MB / 466.3 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.3416, allocations: 234.7 kB / 466.5 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/0.359, allocations: 14.27 MB / 480.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/0.3613, allocations: 198.5 kB / 481 MB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001553/0.3614, allocations: 51.95 kB / 481 MB, free: 8.078 MB / 382.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.0005326/0.3619, allocations: 253.7 kB / 481.3 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.3622, allocations: 111.3 kB / 481.4 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.3625, allocations: 122.2 kB / 481.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006032/0.3685, allocations: 2.189 MB / 483.7 MB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.3685, allocations: 8 kB / 483.7 MB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005989/0.3745, allocations: 2.539 MB / 486.2 MB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.385, allocations: 4.527 MB / 490.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.385, allocations: 0 / 490.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.3861, allocations: 219.7 kB / 491 MB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/0.39, allocations: 1.127 MB / 492.1 MB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.3901, allocations: 31.97 kB / 492.1 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/0.4099, allocations: 13.37 MB / 0.4936 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007232/0.4171, allocations: 3.819 MB / 0.4974 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008259/0.4254, allocations: 3.317 MB / 0.5006 GB, free: 7.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000867/0.4262, allocations: 348.2 kB / 0.5009 GB, free: 6.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.4264, allocations: 28 kB / 0.501 GB, free: 6.828 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.4278, allocations: 131.8 kB / 0.5011 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.4283, allocations: 137.1 kB / 0.5012 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.4284, allocations: 43.95 kB / 0.5013 GB, free: 6.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006155/0.429, allocations: 451.1 kB / 0.5017 GB, free: 6.086 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.429, allocations: 4.188 kB / 0.5017 GB, free: 6.082 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001849/0.4308, allocations: 0.5882 MB / 0.5023 GB, free: 5.496 MB / 414.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.008467/0.4393, allocations: 3.919 MB / 0.5061 GB, free: 1.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005034/0.4444, allocations: 2.759 MB / 0.5088 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4444, allocations: 0 / 0.5088 GB, free: 14.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004167/0.4485, allocations: 1.833 MB / 0.5106 GB, free: 12.72 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.4501, allocations: 260.6 kB / 0.5108 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02546/0.4755, allocations: 12.01 MB / 0.5226 GB, free: 268 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/0.4763, allocations: 1.049 MB / 0.5236 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000797/0.4771, allocations: 152.5 kB / 0.5237 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/0.4779, allocations: 407.2 kB / 0.5241 GB, free: 14.63 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4779, allocations: 0 / 0.5241 GB, free: 14.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09802/0.5759, allocations: 40.76 MB / 0.5639 GB, free: 6.281 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.37, allocations: 4.062 kB / 0.5639 GB, free: 6.277 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.709736115008127] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.541629907966126 14.553758038 14.267990133 Calling exit ...