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.001498/0.001498, allocations: 120.2 kB / 18.49 MB, free: 4.559 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.001584/0.001584, allocations: 214.2 kB / 21.46 MB, free: 1.605 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.35/1.35, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.001906/0.001906, allocations: 60.14 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09287/0.09477, allocations: 53.37 MB / 427 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005344/0.1001, allocations: 3.697 MB / 430.7 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1648/0.2649, allocations: 1.018 MB / 431.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003766/0.2653, allocations: 8.875 kB / 431.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.2656, allocations: 107.8 kB / 431.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.266, allocations: 205.2 kB / 432.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.2663, allocations: 130.2 kB / 432.2 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006369/0.2669, allocations: 0.6783 MB / 432.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001994/0.2671, allocations: 132.3 kB / 433 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002466/0.2674, allocations: 264.9 kB / 433.3 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.2676, allocations: 299.7 kB / 433.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.991e-05/0.2677, allocations: 56.47 kB / 433.6 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.2678, allocations: 58.66 kB / 433.7 MB, free: 7.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.153e-05/0.2679, allocations: 126.3 kB / 433.8 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002138/0.2681, allocations: 311.8 kB / 434.1 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005723/0.2686, allocations: 0.697 MB / 434.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2687, allocations: 1.094 kB / 434.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2687, allocations: 0 / 434.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.2687, allocations: 0 / 434.8 MB, free: 7.098 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.001405/0.2701, allocations: 0.9083 MB / 435.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.2701, allocations: 9.656 kB / 435.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.403e-05/0.2702, allocations: 13.75 kB / 435.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.2703, allocations: 81.08 kB / 435.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.2704, allocations: 70.89 kB / 435.9 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007008/0.2711, allocations: 439 kB / 436.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.2712, allocations: 60.22 kB / 436.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-05/0.2712, allocations: 38.89 kB / 436.4 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008094/0.272, allocations: 0.5024 MB / 436.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.2721, allocations: 2.344 kB / 436.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.933e-05/0.2721, allocations: 16.25 kB / 436.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.2721, allocations: 9.938 kB / 436.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008274/0.2729, allocations: 351 kB / 437.3 MB, free: 5.922 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.001966/0.2749, allocations: 1.345 MB / 438.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007401/0.2756, allocations: 425 kB / 439 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/0.276, allocations: 182.2 kB / 439.2 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.626e-05/0.2761, allocations: 14.52 kB / 439.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2761, allocations: 45.78 kB / 439.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.924e-06/0.2761, allocations: 1.156 kB / 439.3 MB, free: 4.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007705/0.2838, allocations: 2.906 MB / 442.2 MB, free: 3.555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001781/0.2856, allocations: 2.458 MB / 444.6 MB, free: 1.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.2861, allocations: 462.3 kB / 445.1 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-05/0.2862, allocations: 38.23 kB / 445.1 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.2863, allocations: 239.4 kB / 445.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.2864, allocations: 220.4 kB / 445.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/0.2866, allocations: 108.3 kB / 445.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.596e-05/0.2867, allocations: 369.5 kB / 446 MB, free: 244 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006592/0.2874, allocations: 282.1 kB / 446.3 MB, free: 144 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.2881, allocations: 441.1 kB / 446.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.2895, allocations: 0.6148 MB / 447.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2895, allocations: 0 / 447.4 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002045/0.2915, allocations: 0.8908 MB / 448.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.646e-05/0.2916, allocations: 31.61 kB / 448.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.2916, allocations: 0 / 448.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003616/0.2919, allocations: 174.6 kB / 448.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006403/0.2926, allocations: 143.5 kB / 448.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005722/0.2983, allocations: 6.118 MB / 454.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000768/0.2991, allocations: 58.7 kB / 454.8 MB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.902e-05/0.2991, allocations: 19.86 kB / 454.8 MB, free: 9.098 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.0003001/0.2994, allocations: 196.1 kB / 455 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.2996, allocations: 70.47 kB / 455.1 MB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001523/0.2997, allocations: 69.83 kB / 455.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2997, allocations: 6.5 kB / 455.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.2997, allocations: 1.625 kB / 455.1 MB, free: 8.844 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002191/0.3019, allocations: 1.191 MB / 456.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003544/0.3055, allocations: 1.819 MB / 458.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3055, allocations: 0 / 458.1 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005738/0.306, allocations: 128.2 kB / 458.3 MB, free: 7.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000499/0.3065, allocations: 209.4 kB / 458.5 MB, free: 7.023 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.3066, allocations: 17.03 kB / 458.5 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005464/0.312, allocations: 5.137 MB / 463.6 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00166/0.3137, allocations: 1.747 MB / 465.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003024/0.3167, allocations: 1.325 MB / 466.7 MB, free: 0 / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004022/0.3171, allocations: 198 kB / 466.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.3172, allocations: 17.28 kB / 466.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005773/0.3178, allocations: 56.75 kB / 467 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/0.318, allocations: 56.09 kB / 467 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.318, allocations: 17.31 kB / 467 MB, free: 15.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000412/0.3184, allocations: 324.7 kB / 467.3 MB, free: 15.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3184, allocations: 5.031 kB / 467.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007543/0.3192, allocations: 201 kB / 467.5 MB, free: 15.61 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.003357/0.3225, allocations: 1.892 MB / 469.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002444/0.325, allocations: 1.191 MB / 470.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/0.325, allocations: 5.188 kB / 470.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001437/0.3264, allocations: 0.7152 MB / 471.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008208/0.3272, allocations: 154.5 kB / 471.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.3373, allocations: 6.037 MB / 477.5 MB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005294/0.3379, allocations: 0.8763 MB / 478.4 MB, free: 8.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003915/0.3383, allocations: 73.72 kB / 478.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000332/0.3386, allocations: 202.8 kB / 478.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3386, allocations: 0 / 478.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05474/0.3933, allocations: 18.08 MB / 496.8 MB, free: 7.742 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.06, allocations: 15.98 kB / 496.8 MB, free: 7.727 MB / 398.1 MB " [Timeout remaining time 647] (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.338905161013827] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.217532916052733 13.231203379 12.959564546 Calling exit ...