Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001423/0.001423, 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.001374/0.001374, allocations: 214.8 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.343/1.343, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 55.91 kB / 378.5 MB, free: 2.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2197, allocations: 53.4 MB / 431.9 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004777/0.2245, allocations: 3.382 MB / 435.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.2261, allocations: 0.954 MB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001581/0.2262, allocations: 7.938 kB / 436.2 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002967/0.2265, allocations: 107.1 kB / 436.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.2269, allocations: 206.3 kB / 436.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.2272, allocations: 131.8 kB / 436.7 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007123/0.2279, allocations: 0.6808 MB / 437.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.2281, allocations: 130.9 kB / 437.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002697/0.2284, allocations: 263 kB / 437.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.2288, allocations: 298.8 kB / 438 MB, free: 324 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.598e-05/0.2289, allocations: 56 kB / 438.1 MB, free: 268 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.627e-05/0.229, allocations: 60 kB / 438.1 MB, free: 208 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2291, allocations: 127.5 kB / 438.3 MB, free: 80 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000281/0.2293, allocations: 263 kB / 438.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007404/0.2301, allocations: 0.6965 MB / 439.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.2301, allocations: 7.938 kB / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2301, allocations: 0 / 439.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.2301, allocations: 0 / 439.2 MB, free: 15.11 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001496/0.2316, allocations: 0.8294 MB / 440.1 MB, free: 14.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.2316, allocations: 12.03 kB / 440.1 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.25e-05/0.2317, allocations: 12.8 kB / 440.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.2318, allocations: 79.7 kB / 440.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.2319, allocations: 72.52 kB / 440.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007046/0.2326, allocations: 381.4 kB / 440.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.2328, allocations: 110.7 kB / 440.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.2328, allocations: 36.08 kB / 440.7 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.234, allocations: 0.8823 MB / 441.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.234, allocations: 0 / 441.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.234, allocations: 20 kB / 441.6 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.234, allocations: 8 kB / 441.7 MB, free: 12.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008384/0.2349, allocations: 347.8 kB / 442 MB, free: 12.1 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.002031/0.2369, allocations: 1.081 MB / 443.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007786/0.2377, allocations: 346.7 kB / 443.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004045/0.2381, allocations: 180.8 kB / 443.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.081e-05/0.2381, allocations: 11.98 kB / 443.6 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.2382, allocations: 38.56 kB / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.814e-06/0.2382, allocations: 0 / 443.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007433/0.2456, allocations: 2.679 MB / 446.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002437/0.248, allocations: 2.335 MB / 448.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005215/0.2486, allocations: 453.9 kB / 449.1 MB, free: 4.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/0.2486, allocations: 37.7 kB / 449.1 MB, free: 4.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/0.2488, allocations: 241 kB / 449.4 MB, free: 4.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.249, allocations: 226.2 kB / 449.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002048/0.2492, allocations: 114.3 kB / 449.7 MB, free: 4.023 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2493, allocations: 366.7 kB / 450.1 MB, free: 3.656 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006872/0.25, allocations: 310.8 kB / 450.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.251, allocations: 0.8368 MB / 451.2 MB, free: 2.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2523, allocations: 0.6168 MB / 451.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.2523, allocations: 0 / 451.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001949/0.2543, allocations: 0.9096 MB / 452.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.2543, allocations: 41.62 kB / 452.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2543, allocations: 0 / 452.8 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/0.2547, allocations: 179.3 kB / 452.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000642/0.2553, allocations: 139.8 kB / 453.1 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005433/0.2608, allocations: 5.673 MB / 458.8 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006548/0.2614, allocations: 60.3 kB / 458.8 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.78e-05/0.2615, allocations: 19.98 kB / 458.8 MB, free: 10.21 MB / 366.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.0002869/0.2618, allocations: 185.7 kB / 459 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.2619, allocations: 63.62 kB / 459.1 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.262, allocations: 69.41 kB / 459.1 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.262, allocations: 4 kB / 459.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.262, allocations: 8 kB / 459.2 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002136/0.2642, allocations: 1.182 MB / 460.3 MB, free: 8.578 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003282/0.2675, allocations: 1.638 MB / 462 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.2675, allocations: 0 / 462 MB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006161/0.2681, allocations: 135.8 kB / 462.1 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/0.2686, allocations: 198.7 kB / 462.3 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.2686, allocations: 15.98 kB / 462.3 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004973/0.2736, allocations: 4.817 MB / 467.1 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001505/0.2751, allocations: 1.623 MB / 468.8 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002782/0.2779, allocations: 1.328 MB / 470.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.2781, allocations: 123.6 kB / 470.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.2782, allocations: 15.94 kB / 470.2 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005329/0.2788, allocations: 56 kB / 470.3 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.2789, allocations: 56.38 kB / 470.3 MB, free: 14.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.247e-05/0.2789, allocations: 16 kB / 470.3 MB, free: 14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003742/0.2793, allocations: 327.1 kB / 470.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2793, allocations: 0 / 470.7 MB, free: 13.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006776/0.28, allocations: 208 kB / 470.9 MB, free: 13.48 MB / 382.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.003141/0.2831, allocations: 1.884 MB / 472.8 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002227/0.2854, allocations: 1.221 MB / 474 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2854, allocations: 0 / 474 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.2867, allocations: 0.7173 MB / 474.7 MB, free: 9.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006932/0.2874, allocations: 153.4 kB / 474.8 MB, free: 9.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009831/0.2972, allocations: 6.135 MB / 481 MB, free: 3.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.2975, allocations: 280.8 kB / 481.3 MB, free: 2.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000301/0.2978, allocations: 76.92 kB / 481.3 MB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.2981, allocations: 207.4 kB / 481.5 MB, free: 2.477 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2981, allocations: 0 / 481.5 MB, free: 2.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/0.3521, allocations: 19.69 MB / 0.4895 GB, free: 15.14 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.58, allocations: 10.19 kB / 0.4895 GB, free: 15.13 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_OneMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.887879998073913] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.768993051024154 13.79268634 13.558968852 Calling exit ...