Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001443/0.001443, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001567/0.001567, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 230.5 MB / 258.2 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 63.89 kB / 378.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2136, allocations: 53.4 MB / 431.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005538/0.2191, allocations: 4.524 MB / 436.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00196/0.2211, allocations: 1.281 MB / 437.7 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.2213, allocations: 11.94 kB / 437.7 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.2217, allocations: 162.6 kB / 437.9 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005728/0.2222, allocations: 337.2 kB / 438.2 MB, free: 132 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2226, allocations: 223.6 kB / 438.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.2237, allocations: 1.176 MB / 439.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003274/0.2241, allocations: 218.6 kB / 439.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004307/0.2245, allocations: 474.3 kB / 440.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005668/0.2251, allocations: 0.5096 MB / 440.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.2252, allocations: 108 kB / 440.9 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.2254, allocations: 104 kB / 441 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000191/0.2256, allocations: 227.2 kB / 441.2 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004354/0.226, allocations: 446.1 kB / 441.6 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.2271, allocations: 1.214 MB / 442.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.2271, allocations: 0 / 442.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2272, allocations: 0 / 442.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.2272, allocations: 3.938 kB / 442.9 MB, free: 11.43 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.002268/0.2294, allocations: 1.296 MB / 444.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2295, allocations: 8.031 kB / 444.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.795e-05/0.2295, allocations: 25.45 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001652/0.2297, allocations: 123.9 kB / 444.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.2299, allocations: 116.3 kB / 444.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009456/0.2308, allocations: 0.539 MB / 445 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002752/0.2311, allocations: 308.9 kB / 445.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.2312, allocations: 64 kB / 445.3 MB, free: 8.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.233, allocations: 1.639 MB / 447 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.233, allocations: 11.94 kB / 447 MB, free: 6.883 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.2331, allocations: 28 kB / 447 MB, free: 6.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.409e-05/0.2331, allocations: 16 kB / 447 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.2345, allocations: 0.6219 MB / 447.6 MB, free: 6.215 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.003214/0.2377, allocations: 1.741 MB / 449.4 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.2393, allocations: 0.7356 MB / 450.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008076/0.2401, allocations: 398.7 kB / 450.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.2401, allocations: 13 kB / 450.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.2402, allocations: 51.5 kB / 450.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.344e-06/0.2402, allocations: 0 / 450.6 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.01824/0.2584, allocations: 6.241 MB / 456.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007858/0.2663, allocations: 4.718 MB / 461.5 MB, free: 7.906 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.2671, allocations: 0.6371 MB / 462.2 MB, free: 7.258 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.2673, allocations: 53.69 kB / 462.2 MB, free: 7.199 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.2675, allocations: 338 kB / 462.6 MB, free: 6.863 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004497/0.268, allocations: 487.7 kB / 463 MB, free: 6.383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004307/0.2684, allocations: 242.8 kB / 463.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.2686, allocations: 402.8 kB / 463.7 MB, free: 5.738 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.27, allocations: 0.7493 MB / 464.4 MB, free: 4.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.2721, allocations: 1.824 MB / 466.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002695/0.2748, allocations: 1.466 MB / 467.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2748, allocations: 8.188 kB / 467.7 MB, free: 1.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005981/0.2808, allocations: 2.449 MB / 470.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.2809, allocations: 91.7 kB / 470.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.2809, allocations: 0 / 470.2 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/0.2835, allocations: 0.7559 MB / 471 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.2845, allocations: 239.6 kB / 471.2 MB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01615/0.3007, allocations: 13.34 MB / 484.6 MB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001795/0.3025, allocations: 195.9 kB / 484.8 MB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.3026, allocations: 51.95 kB / 484.8 MB, free: 15.2 MB / 398.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.0004692/0.3031, allocations: 249.7 kB / 485.1 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002058/0.3033, allocations: 111.3 kB / 485.2 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.3035, allocations: 130.2 kB / 485.3 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005744/0.3093, allocations: 2.193 MB / 487.5 MB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3093, allocations: 4 kB / 487.5 MB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005636/0.3149, allocations: 2.543 MB / 490 MB, free: 9.809 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009142/0.324, allocations: 4.067 MB / 494.1 MB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.324, allocations: 0 / 494.1 MB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009699/0.325, allocations: 215.7 kB / 494.3 MB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003685/0.3287, allocations: 1.125 MB / 495.4 MB, free: 4.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.3288, allocations: 39.95 kB / 495.5 MB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.3472, allocations: 12.62 MB / 0.4962 GB, free: 6.965 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006728/0.354, allocations: 3.646 MB / 0.4998 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007673/0.3616, allocations: 3.325 MB / 0.503 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.3623, allocations: 271.1 kB / 0.5033 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/0.3625, allocations: 36 kB / 0.5033 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.3638, allocations: 123.8 kB / 0.5034 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/0.3642, allocations: 145 kB / 0.5035 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.3643, allocations: 39.97 kB / 0.5036 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005892/0.3649, allocations: 455 kB / 0.504 GB, free: 14.79 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3649, allocations: 0 / 0.504 GB, free: 14.79 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001691/0.3666, allocations: 0.5859 MB / 0.5046 GB, free: 14.21 MB / 430.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.007903/0.3745, allocations: 3.919 MB / 0.5084 GB, free: 10.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004613/0.3791, allocations: 2.823 MB / 0.5112 GB, free: 7.262 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.3791, allocations: 4 kB / 0.5112 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003764/0.3829, allocations: 1.838 MB / 0.513 GB, free: 5.344 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.3842, allocations: 255.1 kB / 0.5132 GB, free: 5.094 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02396/0.4082, allocations: 12.31 MB / 0.5252 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.4089, allocations: 466.4 kB / 0.5257 GB, free: 8.016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007657/0.4096, allocations: 160.4 kB / 0.5258 GB, free: 7.855 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007615/0.4104, allocations: 411.2 kB / 0.5262 GB, free: 7.453 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4104, allocations: 0 / 0.5262 GB, free: 7.453 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.254/0.6644, allocations: 43.43 MB / 0.5686 GB, free: 111.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.3, allocations: 11.66 kB / 0.5686 GB, free: 111.7 MB / 462.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.576452056062408] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.50066847493872 15.519061067 15.288666368 Calling exit ...