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.001215/0.001215, allocations: 109.1 kB / 21.22 MB, free: 0.7305 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.00136/0.00136, allocations: 207.5 kB / 24.53 MB, free: 4.066 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.319/1.319, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.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.001705/0.001705, allocations: 59.89 kB / 378.5 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2369, allocations: 53.42 MB / 432 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004764/0.2416, allocations: 3.712 MB / 435.7 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.2432, allocations: 1.016 MB / 436.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.2433, allocations: 11.94 kB / 436.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002928/0.2436, allocations: 107 kB / 436.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.2439, allocations: 210.3 kB / 437 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.2442, allocations: 135.7 kB / 437.1 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007142/0.2449, allocations: 0.6805 MB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002276/0.2451, allocations: 128 kB / 437.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.2454, allocations: 267.1 kB / 438.2 MB, free: 440 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.2458, allocations: 298.7 kB / 438.5 MB, free: 140 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.691e-05/0.2458, allocations: 56 kB / 438.6 MB, free: 84 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.563e-05/0.2459, allocations: 60 kB / 438.6 MB, free: 24 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.246, allocations: 123.6 kB / 438.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002897/0.2463, allocations: 318.5 kB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.247, allocations: 0.6922 MB / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.247, allocations: 0 / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.247, allocations: 0 / 439.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.247, allocations: 0 / 439.7 MB, free: 14.9 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.001433/0.2485, allocations: 0.8333 MB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.2485, allocations: 12.03 kB / 440.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.658e-05/0.2485, allocations: 12.84 kB / 440.6 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/0.2486, allocations: 83.66 kB / 440.7 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.2488, allocations: 76.44 kB / 440.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000675/0.2494, allocations: 377.3 kB / 441.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.2495, allocations: 110.7 kB / 441.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.86e-05/0.2496, allocations: 40.08 kB / 441.3 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008539/0.2505, allocations: 0.4981 MB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2505, allocations: 3.938 kB / 441.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.041e-05/0.2505, allocations: 16 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/0.2505, allocations: 8 kB / 441.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008773/0.2514, allocations: 355.8 kB / 442.1 MB, free: 12.34 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.002065/0.2535, allocations: 1.308 MB / 443.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/0.2543, allocations: 351.2 kB / 443.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004157/0.2547, allocations: 187.6 kB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.2547, allocations: 4 kB / 444 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.2547, allocations: 42.56 kB / 444 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.463e-06/0.2547, allocations: 0 / 444 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.007567/0.2623, allocations: 2.675 MB / 446.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00252/0.2648, allocations: 2.362 MB / 449.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005539/0.2654, allocations: 465.8 kB / 449.5 MB, free: 4.586 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.832e-05/0.2654, allocations: 37.7 kB / 449.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.2656, allocations: 245 kB / 449.8 MB, free: 4.301 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001916/0.2658, allocations: 222.1 kB / 450 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002103/0.266, allocations: 106.3 kB / 450.1 MB, free: 3.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.2662, allocations: 370.7 kB / 450.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/0.2669, allocations: 289.1 kB / 450.8 MB, free: 3.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008428/0.2678, allocations: 433.6 kB / 451.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.2691, allocations: 0.613 MB / 451.8 MB, free: 2.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2691, allocations: 3.938 kB / 451.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001998/0.2711, allocations: 0.8923 MB / 452.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.693e-05/0.2712, allocations: 36.2 kB / 452.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.2712, allocations: 3.938 kB / 452.7 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003715/0.2715, allocations: 179.3 kB / 452.9 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006288/0.2722, allocations: 139.8 kB / 453 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005575/0.2777, allocations: 5.697 MB / 458.7 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.2784, allocations: 55.97 kB / 458.8 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.2785, allocations: 23.98 kB / 458.8 MB, free: 10.7 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.0002964/0.2788, allocations: 193.9 kB / 459 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.2789, allocations: 63.62 kB / 459.1 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.279, allocations: 73.39 kB / 459.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.279, allocations: 8 kB / 459.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2791, allocations: 0 / 459.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002173/0.2812, allocations: 1.186 MB / 460.3 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.2848, allocations: 1.774 MB / 462.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.2848, allocations: 3.984 kB / 462.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.2854, allocations: 131.8 kB / 462.2 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004822/0.2858, allocations: 210.4 kB / 462.4 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.16e-05/0.2859, allocations: 8 kB / 462.5 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005105/0.291, allocations: 4.84 MB / 467.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001539/0.2925, allocations: 1.634 MB / 468.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.2954, allocations: 1.328 MB / 470.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.2957, allocations: 127.5 kB / 470.4 MB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.2958, allocations: 19.88 kB / 470.4 MB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005612/0.2964, allocations: 52 kB / 470.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.2966, allocations: 56.39 kB / 470.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.2966, allocations: 19.98 kB / 470.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003987/0.297, allocations: 327.1 kB / 470.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.297, allocations: 0 / 470.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006724/0.2977, allocations: 200 kB / 471 MB, free: 13.79 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.003339/0.301, allocations: 1.899 MB / 472.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002376/0.3034, allocations: 1.189 MB / 474.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3034, allocations: 0 / 474.1 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001405/0.3048, allocations: 0.7212 MB / 474.8 MB, free: 9.836 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/0.3055, allocations: 158.1 kB / 475 MB, free: 9.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/0.3155, allocations: 6.031 MB / 481 MB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005149/0.316, allocations: 0.8687 MB / 481.9 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002876/0.3163, allocations: 76.94 kB / 482 MB, free: 2.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.3166, allocations: 211.3 kB / 482.2 MB, free: 2.328 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3166, allocations: 0 / 482.2 MB, free: 2.328 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05615/0.3728, allocations: 18.53 MB / 0.489 GB, free: 52 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.07/13.45, allocations: 14.23 kB / 0.489 GB, free: 44 kB / 398.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.693759737012442] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'pipe.T'] 13.624074938998092 13.649604888 13.397671443 Calling exit ...