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.0012/0.0012, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001315/0.001315, allocations: 202.2 kB / 24.52 MB, free: 4.156 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.346/1.346, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.001388/0.001388, allocations: 39.94 kB / 378.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2185, allocations: 53.38 MB / 431.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00592/0.2245, allocations: 5.096 MB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.2267, allocations: 1.332 MB / 438.4 MB, free: 472 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002332/0.2269, allocations: 11.94 kB / 438.4 MB, free: 460 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.2273, allocations: 166.5 kB / 438.5 MB, free: 292 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.2279, allocations: 337.3 kB / 438.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.2283, allocations: 231.6 kB / 439.1 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.2295, allocations: 1.172 MB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.2298, allocations: 219.6 kB / 440.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005599/0.2304, allocations: 470.3 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006185/0.231, allocations: 0.5058 MB / 441.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.2312, allocations: 104 kB / 441.5 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.2313, allocations: 108 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.2315, allocations: 223.2 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000471/0.232, allocations: 0.5211 MB / 442.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2332, allocations: 1.206 MB / 443.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2332, allocations: 0 / 443.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.2332, allocations: 7.922 kB / 443.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.2332, allocations: 0 / 443.6 MB, free: 11.19 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.002299/0.2355, allocations: 1.292 MB / 444.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2355, allocations: 8.031 kB / 444.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.731e-05/0.2356, allocations: 25.45 kB / 444.9 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001647/0.2357, allocations: 123.9 kB / 445 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.2359, allocations: 120.3 kB / 445.2 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009569/0.2369, allocations: 0.535 MB / 445.7 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002764/0.2372, allocations: 308.9 kB / 446 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2373, allocations: 64 kB / 446.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.2387, allocations: 0.8868 MB / 446.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.786e-05/0.2387, allocations: 3.953 kB / 446.9 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/0.2388, allocations: 28 kB / 447 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.2388, allocations: 16 kB / 447 MB, free: 7.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001401/0.2402, allocations: 0.6297 MB / 447.6 MB, free: 6.914 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.003374/0.2436, allocations: 2.16 MB / 449.8 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.2451, allocations: 0.7387 MB / 450.5 MB, free: 3.922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/0.2459, allocations: 391.7 kB / 450.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/0.246, allocations: 12.98 kB / 450.9 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.246, allocations: 59.55 kB / 451 MB, free: 3.457 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.244e-06/0.246, allocations: 0 / 451 MB, free: 3.457 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.01848/0.2645, allocations: 6.245 MB / 457.2 MB, free: 13.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007727/0.2723, allocations: 4.785 MB / 462 MB, free: 8.055 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008106/0.2731, allocations: 0.6332 MB / 462.6 MB, free: 7.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001741/0.2732, allocations: 53.7 kB / 462.7 MB, free: 7.352 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.2735, allocations: 342 kB / 463 MB, free: 7.012 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/0.274, allocations: 487.7 kB / 463.5 MB, free: 6.531 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004232/0.2744, allocations: 246.8 kB / 463.7 MB, free: 6.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.2746, allocations: 410.8 kB / 464.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.276, allocations: 0.6623 MB / 464.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.2777, allocations: 0.9874 MB / 465.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/0.2806, allocations: 1.466 MB / 467.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2806, allocations: 0 / 467.3 MB, free: 2.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005935/0.2865, allocations: 2.37 MB / 469.6 MB, free: 208 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/0.2866, allocations: 93.09 kB / 469.7 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.2866, allocations: 4 kB / 469.7 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002515/0.2891, allocations: 0.752 MB / 470.5 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/0.2901, allocations: 227.7 kB / 470.7 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/0.3067, allocations: 13.45 MB / 484.1 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.3086, allocations: 191.7 kB / 484.3 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.3087, allocations: 51.95 kB / 484.4 MB, free: 492 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.00047/0.3092, allocations: 253.7 kB / 484.6 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.3094, allocations: 111.3 kB / 484.7 MB, free: 116 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.3097, allocations: 126.6 kB / 484.9 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005832/0.3155, allocations: 2.197 MB / 487.1 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.3155, allocations: 4 kB / 487.1 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005842/0.3214, allocations: 2.546 MB / 489.6 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009875/0.3312, allocations: 4.457 MB / 494.1 MB, free: 6.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.3312, allocations: 4 kB / 494.1 MB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009733/0.3322, allocations: 215.7 kB / 494.3 MB, free: 6.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003717/0.3359, allocations: 1.134 MB / 495.4 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.336, allocations: 35.95 kB / 495.5 MB, free: 5.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/0.3551, allocations: 12.74 MB / 0.4963 GB, free: 7.719 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007003/0.3621, allocations: 3.71 MB / 0.4999 GB, free: 3.887 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007902/0.37, allocations: 3.329 MB / 0.5032 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006884/0.3707, allocations: 267.1 kB / 0.5034 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.3709, allocations: 32 kB / 0.5034 GB, free: 236 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/0.3722, allocations: 123.8 kB / 0.5036 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/0.3727, allocations: 153 kB / 0.5037 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.78e-05/0.3728, allocations: 39.95 kB / 0.5037 GB, free: 15.92 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005854/0.3733, allocations: 455.1 kB / 0.5042 GB, free: 15.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3733, allocations: 0 / 0.5042 GB, free: 15.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001664/0.375, allocations: 0.582 MB / 0.5047 GB, free: 14.89 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.008135/0.3831, allocations: 3.924 MB / 0.5086 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004874/0.388, allocations: 2.748 MB / 0.5113 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.388, allocations: 0 / 0.5113 GB, free: 8.035 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004024/0.392, allocations: 1.842 MB / 0.5131 GB, free: 6.117 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.3935, allocations: 257.9 kB / 0.5133 GB, free: 5.871 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02346/0.4169, allocations: 12 MB / 0.525 GB, free: 9.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/0.4177, allocations: 1.053 MB / 0.5261 GB, free: 8.578 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000676/0.4183, allocations: 152.5 kB / 0.5262 GB, free: 8.426 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006832/0.419, allocations: 411.2 kB / 0.5266 GB, free: 8.023 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.419, allocations: 0 / 0.5266 GB, free: 8.023 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2559/0.6749, allocations: 42.01 MB / 0.5676 GB, free: 112.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.3, allocations: 11.14 kB / 0.5676 GB, free: 112.7 MB / 462.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: 17.573889522987884] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.488156002014875 15.496485988 15.261301238 Calling exit ...