Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.005885/0.005885, allocations: 110.5 kB / 21.97 MB, free: 5.25 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.00159/0.00159, allocations: 205.1 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 47.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.224, allocations: 49.16 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.003804/0.2278, allocations: 3.695 MB / 400.8 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.2293, allocations: 1.032 MB / 401.9 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002135/0.2295, allocations: 9.125 kB / 401.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.2298, allocations: 112.1 kB / 402 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.2301, allocations: 198.6 kB / 402.2 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.2304, allocations: 131.8 kB / 402.3 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006194/0.231, allocations: 0.6811 MB / 403 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002134/0.2312, allocations: 135.1 kB / 403.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002688/0.2315, allocations: 267.5 kB / 403.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003101/0.2318, allocations: 294.1 kB / 403.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.2319, allocations: 56.97 kB / 403.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.717e-05/0.232, allocations: 58.06 kB / 403.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.917e-05/0.2321, allocations: 126 kB / 403.9 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002455/0.2323, allocations: 311.1 kB / 404.2 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006076/0.2329, allocations: 0.6947 MB / 404.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2329, allocations: 1.438 kB / 404.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2329, allocations: 4 kB / 404.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2329, allocations: 0 / 404.9 MB, free: 4.074 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001323/0.2343, allocations: 0.8286 MB / 405.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.2343, allocations: 14.69 kB / 405.7 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.654e-05/0.2343, allocations: 14.42 kB / 405.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.862e-05/0.2344, allocations: 83.16 kB / 405.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.2345, allocations: 70.48 kB / 405.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.2352, allocations: 393.4 kB / 406.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.516e-05/0.2353, allocations: 116.7 kB / 406.4 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.2353, allocations: 39.47 kB / 406.4 MB, free: 2.965 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007607/0.2361, allocations: 499.7 kB / 406.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.2361, allocations: 0 / 406.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.2361, allocations: 17.62 kB / 406.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.2361, allocations: 12.09 kB / 407 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007943/0.2369, allocations: 349.5 kB / 407.3 MB, free: 2.551 MB / 318.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.001824/0.2388, allocations: 1.309 MB / 408.6 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007182/0.2395, allocations: 348 kB / 408.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000376/0.2398, allocations: 182.8 kB / 409.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.2399, allocations: 10.91 kB / 409.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.2399, allocations: 38.47 kB / 409.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of pre-optimization done (n=41): time 1.983e-06/0.2399, allocations: 0 / 409.2 MB, free: 1.465 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.007281/0.2472, allocations: 2.687 MB / 411.9 MB, free: 260 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002384/0.2496, allocations: 2.357 MB / 414.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005744/0.2501, allocations: 457.1 kB / 414.7 MB, free: 13.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.203e-05/0.2502, allocations: 38.05 kB / 414.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001991/0.2504, allocations: 247.5 kB / 414.9 MB, free: 13.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.2506, allocations: 218.8 kB / 415.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001953/0.2508, allocations: 109.9 kB / 415.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.251, allocations: 375.6 kB / 415.6 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006894/0.2517, allocations: 275.5 kB / 415.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/0.2525, allocations: 453 kB / 416.3 MB, free: 12.36 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001396/0.2539, allocations: 0.6113 MB / 417 MB, free: 12.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2539, allocations: 0 / 417 MB, free: 12.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002093/0.256, allocations: 0.8933 MB / 417.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.2561, allocations: 35.91 kB / 417.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2561, allocations: 0 / 417.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003712/0.2564, allocations: 175.5 kB / 418.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/0.2571, allocations: 138.8 kB / 418.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005563/0.2626, allocations: 5.706 MB / 423.9 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/0.2634, allocations: 52.84 kB / 423.9 MB, free: 5.684 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.127e-05/0.2634, allocations: 24.42 kB / 424 MB, free: 5.672 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,1,88.9%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002923/0.2637, allocations: 188.7 kB / 424.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.2639, allocations: 62.19 kB / 424.2 MB, free: 5.477 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.264, allocations: 74.28 kB / 424.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.264, allocations: 7.219 kB / 424.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.264, allocations: 0 / 424.3 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002159/0.2662, allocations: 1.186 MB / 425.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003454/0.2696, allocations: 1.78 MB / 427.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2696, allocations: 4 kB / 427.3 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005753/0.2702, allocations: 126.5 kB / 427.4 MB, free: 3.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/0.2707, allocations: 216.8 kB / 427.6 MB, free: 3.062 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/0.2707, allocations: 15.2 kB / 427.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005074/0.2758, allocations: 4.836 MB / 432.5 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001522/0.2773, allocations: 1.638 MB / 434.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002984/0.2803, allocations: 1.324 MB / 435.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000299/0.2806, allocations: 119.6 kB / 435.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.2807, allocations: 19.94 kB / 435.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005639/0.2813, allocations: 47.94 kB / 435.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.2814, allocations: 68.31 kB / 435.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.296e-05/0.2815, allocations: 12 kB / 435.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.2818, allocations: 323.1 kB / 436 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2818, allocations: 4.062 kB / 436 MB, free: 10.62 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00069/0.2825, allocations: 208 kB / 436.2 MB, free: 10.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 ($STATESET1.x,heatCapacitor.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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(3,1,88.9%), (1,1,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003326/0.2859, allocations: 1.884 MB / 438.1 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.2882, allocations: 1.189 MB / 439.3 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2882, allocations: 3.938 kB / 439.3 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.2896, allocations: 0.7213 MB / 440 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007094/0.2903, allocations: 151.1 kB / 440.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.3004, allocations: 6.051 MB / 446.2 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005382/0.3009, allocations: 0.8648 MB / 447.1 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003073/0.3012, allocations: 72.94 kB / 447.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003238/0.3015, allocations: 207.4 kB / 447.3 MB, free: 14.98 MB / 366.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3015, allocations: 4 kB / 447.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05398/0.3555, allocations: 18.52 MB / 465.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.73, allocations: 0 / 465.9 MB, free: 12.37 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.975389254977927] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.91324484499637 13.927309875 13.691385448 Calling exit ...