Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 43.94 kB / 371.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2206, allocations: 52.19 MB / 423.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006176/0.2268, allocations: 5.08 MB / 428.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002354/0.2291, allocations: 1.289 MB / 429.8 MB, free: 8.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.2294, allocations: 15.88 kB / 429.8 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.2298, allocations: 170.5 kB / 430 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.2304, allocations: 341.2 kB / 430.3 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.2309, allocations: 219.7 kB / 430.5 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.2322, allocations: 1.187 MB / 431.7 MB, free: 6.262 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.2325, allocations: 230.5 kB / 431.9 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004739/0.233, allocations: 458.4 kB / 432.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006058/0.2336, allocations: 0.5135 MB / 432.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001334/0.2337, allocations: 104 kB / 433 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.2339, allocations: 108 kB / 433.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001913/0.2341, allocations: 227.2 kB / 433.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004946/0.2346, allocations: 0.5211 MB / 433.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2357, allocations: 1.202 MB / 435 MB, free: 2.895 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2357, allocations: 7.938 kB / 435 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2357, allocations: 0 / 435 MB, free: 2.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.2357, allocations: 0 / 435 MB, free: 2.887 MB / 334.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.002347/0.2381, allocations: 1.288 MB / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.2381, allocations: 12.03 kB / 436.3 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.294e-05/0.2382, allocations: 21.48 kB / 436.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.2384, allocations: 127.9 kB / 436.5 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.2385, allocations: 116.3 kB / 436.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009856/0.2395, allocations: 0.539 MB / 437.1 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002816/0.2398, allocations: 304.9 kB / 437.4 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.661e-05/0.2399, allocations: 60 kB / 437.5 MB, free: 292 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001531/0.2414, allocations: 0.8899 MB / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2415, allocations: 0 / 438.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/0.2415, allocations: 28 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.2415, allocations: 16 kB / 438.4 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.243, allocations: 0.6258 MB / 439.1 MB, free: 14.62 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.003473/0.2464, allocations: 2.152 MB / 441.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001572/0.248, allocations: 0.7364 MB / 441.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/0.2488, allocations: 396 kB / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/0.2489, allocations: 20.92 kB / 442.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2489, allocations: 51.56 kB / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 1.914e-06/0.2489, allocations: 0 / 442.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.01849/0.2674, allocations: 6.256 MB / 448.7 MB, free: 4.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007953/0.2754, allocations: 4.794 MB / 453.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008353/0.2762, allocations: 0.6371 MB / 454.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001787/0.2764, allocations: 53.7 kB / 454.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002768/0.2767, allocations: 342 kB / 454.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/0.2771, allocations: 491.7 kB / 455 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004258/0.2775, allocations: 226.9 kB / 455.2 MB, free: 14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.2777, allocations: 406.7 kB / 455.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.2792, allocations: 0.6702 MB / 456.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/0.2809, allocations: 0.9874 MB / 457.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002863/0.2838, allocations: 1.466 MB / 458.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2838, allocations: 0 / 458.7 MB, free: 10.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006/0.2898, allocations: 2.374 MB / 461.1 MB, free: 7.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.128e-05/0.2899, allocations: 93.09 kB / 461.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2899, allocations: 0 / 461.2 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/0.2924, allocations: 0.7522 MB / 461.9 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009908/0.2934, allocations: 231.6 kB / 462.1 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/0.3103, allocations: 13.44 MB / 475.6 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.3122, allocations: 192 kB / 475.8 MB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.3124, allocations: 55.94 kB / 475.8 MB, free: 8.188 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.0004769/0.3128, allocations: 253.8 kB / 476.1 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.3131, allocations: 119.3 kB / 476.2 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3133, allocations: 122.2 kB / 476.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005924/0.3192, allocations: 2.193 MB / 478.5 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.3192, allocations: 4 kB / 478.5 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005823/0.3251, allocations: 2.539 MB / 481 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00977/0.3348, allocations: 4.464 MB / 485.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3348, allocations: 0 / 485.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009527/0.3358, allocations: 215.7 kB / 485.7 MB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003675/0.3395, allocations: 1.138 MB / 486.9 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.3396, allocations: 31.95 kB / 486.9 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01939/0.359, allocations: 12.74 MB / 499.6 MB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007013/0.366, allocations: 3.724 MB / 0.4916 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007847/0.3738, allocations: 3.317 MB / 0.4948 GB, free: 8.238 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007043/0.3745, allocations: 275.1 kB / 0.4951 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00017/0.3747, allocations: 28 kB / 0.4951 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.376, allocations: 127.8 kB / 0.4952 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004125/0.3764, allocations: 149 kB / 0.4953 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.3765, allocations: 43.95 kB / 0.4954 GB, free: 7.625 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005812/0.3771, allocations: 455.1 kB / 0.4958 GB, free: 7.184 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3771, allocations: 0 / 0.4958 GB, free: 7.184 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001675/0.3788, allocations: 0.5859 MB / 0.4964 GB, free: 6.598 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.0081/0.3869, allocations: 3.926 MB / 0.5002 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004859/0.3917, allocations: 2.748 MB / 0.5029 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.3917, allocations: 0 / 0.5029 GB, free: 15.74 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00399/0.3957, allocations: 1.839 MB / 0.5047 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.3971, allocations: 258.4 kB / 0.505 GB, free: 13.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0242/0.4213, allocations: 12.01 MB / 0.5167 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008189/0.4221, allocations: 1.049 MB / 0.5177 GB, free: 284 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007305/0.4228, allocations: 152.5 kB / 0.5178 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006898/0.4235, allocations: 407.3 kB / 0.5182 GB, free: 15.72 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4235, allocations: 4 kB / 0.5182 GB, free: 15.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2774/0.701, allocations: 41.99 MB / 0.5593 GB, free: 125.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.21, allocations: 4.125 kB / 0.5593 GB, free: 125.6 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.447076192998793] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.399214206030592 15.408772232 15.170872631 Calling exit ...