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.001495/0.001495, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001706/0.001706, allocations: 220.9 kB / 24.53 MB, free: 4.008 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.335/1.335, allocations: 230.5 MB / 258.2 MB, free: 7.992 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.001742/0.001742, allocations: 59.91 kB / 378.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2212, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006121/0.2273, allocations: 5.089 MB / 437 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2295, allocations: 1.347 MB / 438.4 MB, free: 240 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000226/0.2297, allocations: 15.88 kB / 438.4 MB, free: 224 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003662/0.2301, allocations: 162.5 kB / 438.6 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005596/0.2306, allocations: 341.2 kB / 438.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.231, allocations: 231.7 kB / 439.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.2321, allocations: 1.175 MB / 440.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003285/0.2325, allocations: 219.6 kB / 440.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004448/0.2329, allocations: 466.4 kB / 441 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/0.2335, allocations: 0.5058 MB / 441.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.2336, allocations: 104 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.2338, allocations: 104 kB / 441.7 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.234, allocations: 231.2 kB / 441.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000457/0.2344, allocations: 0.5211 MB / 442.4 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.2355, allocations: 1.209 MB / 443.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2355, allocations: 0 / 443.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2355, allocations: 0 / 443.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.2356, allocations: 0 / 443.6 MB, free: 10.96 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.002301/0.2379, allocations: 1.296 MB / 444.9 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2379, allocations: 12.03 kB / 444.9 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.527e-05/0.2379, allocations: 17.45 kB / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001696/0.2381, allocations: 127.9 kB / 445.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.2383, allocations: 116.3 kB / 445.2 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009214/0.2392, allocations: 0.5312 MB / 445.7 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.2395, allocations: 308.9 kB / 446 MB, free: 8.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.58e-05/0.2396, allocations: 60 kB / 446.1 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.241, allocations: 0.8938 MB / 447 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.241, allocations: 3.953 kB / 447 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.2411, allocations: 31.98 kB / 447 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.2411, allocations: 16 kB / 447 MB, free: 7.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.2426, allocations: 0.6258 MB / 447.7 MB, free: 6.684 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.003442/0.246, allocations: 2.152 MB / 449.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.2476, allocations: 0.7345 MB / 450.5 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008385/0.2485, allocations: 398.6 kB / 450.9 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.344e-05/0.2485, allocations: 24.92 kB / 451 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.2485, allocations: 47.56 kB / 451 MB, free: 3.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.344e-06/0.2486, allocations: 0 / 451 MB, free: 3.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.01879/0.2673, allocations: 6.249 MB / 457.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00775/0.2751, allocations: 4.797 MB / 462.1 MB, free: 7.816 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008248/0.2759, allocations: 0.6332 MB / 462.7 MB, free: 7.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.2761, allocations: 57.64 kB / 462.7 MB, free: 7.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.2764, allocations: 334 kB / 463.1 MB, free: 6.777 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004494/0.2769, allocations: 495.6 kB / 463.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004506/0.2773, allocations: 238.9 kB / 463.8 MB, free: 6.051 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.2775, allocations: 402.7 kB / 464.2 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.279, allocations: 0.6741 MB / 464.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.2807, allocations: 0.9835 MB / 465.8 MB, free: 3.883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.2836, allocations: 1.466 MB / 467.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2836, allocations: 0 / 467.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006113/0.2897, allocations: 2.374 MB / 469.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.222e-05/0.2898, allocations: 89.09 kB / 469.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.2898, allocations: 3.938 kB / 469.8 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.2924, allocations: 0.7482 MB / 470.5 MB, free: 15.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.2934, allocations: 231.6 kB / 470.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01652/0.31, allocations: 13.44 MB / 484.2 MB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/0.312, allocations: 191.8 kB / 484.4 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.3121, allocations: 56.12 kB / 484.4 MB, free: 260 kB / 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.0004981/0.3126, allocations: 261.1 kB / 484.7 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002174/0.3128, allocations: 115.3 kB / 484.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.3131, allocations: 118.2 kB / 484.9 MB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005881/0.3189, allocations: 2.201 MB / 487.1 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.319, allocations: 4 kB / 487.1 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005746/0.3247, allocations: 2.543 MB / 489.7 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009713/0.3344, allocations: 4.457 MB / 494.1 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3344, allocations: 0 / 494.1 MB, free: 6.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009657/0.3354, allocations: 219.6 kB / 494.3 MB, free: 6.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003732/0.3391, allocations: 1.133 MB / 495.5 MB, free: 4.957 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/0.3392, allocations: 35.95 kB / 495.5 MB, free: 4.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01866/0.3579, allocations: 12.74 MB / 0.4963 GB, free: 7.492 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006801/0.3647, allocations: 3.717 MB / 0.5 GB, free: 3.656 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007824/0.3725, allocations: 3.329 MB / 0.5032 GB, free: 300 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006977/0.3732, allocations: 271.1 kB / 0.5035 GB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.3734, allocations: 32.08 kB / 0.5035 GB, free: 15.99 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/0.3747, allocations: 127.8 kB / 0.5036 GB, free: 15.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/0.3751, allocations: 149 kB / 0.5038 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/0.3752, allocations: 43.95 kB / 0.5038 GB, free: 15.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005634/0.3757, allocations: 455.1 kB / 0.5042 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3757, allocations: 4 kB / 0.5042 GB, free: 15.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001774/0.3775, allocations: 0.582 MB / 0.5048 GB, free: 14.65 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.008203/0.3857, allocations: 3.904 MB / 0.5086 GB, free: 10.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004824/0.3906, allocations: 2.752 MB / 0.5113 GB, free: 7.809 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.3906, allocations: 4 kB / 0.5113 GB, free: 7.805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003928/0.3945, allocations: 1.839 MB / 0.5131 GB, free: 5.891 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.3958, allocations: 265.7 kB / 0.5134 GB, free: 5.637 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02353/0.4194, allocations: 11.99 MB / 0.5251 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008052/0.4202, allocations: 1.057 MB / 0.5261 GB, free: 8.348 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007887/0.4209, allocations: 152.5 kB / 0.5262 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/0.4216, allocations: 407.2 kB / 0.5266 GB, free: 7.797 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.4216, allocations: 0 / 0.5266 GB, free: 7.797 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2603/0.6819, allocations: 42 MB / 0.5677 GB, free: 112.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/15.11, allocations: 17.53 kB / 0.5677 GB, free: 112.3 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.388485038012732] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.301228375989012 15.309369618 15.071879835 Calling exit ...