Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001537/0.001537, allocations: 120.1 kB / 18.49 MB, free: 4.566 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.001644/0.001644, allocations: 218.2 kB / 21.46 MB, free: 1.613 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.385/1.385, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 59.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.09029, allocations: 53.38 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.1726/0.2628, allocations: 5.057 MB / 432.1 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.2648, allocations: 1.338 MB / 433.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.265, allocations: 15.53 kB / 433.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003098/0.2653, allocations: 159.2 kB / 433.6 MB, free: 7.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004538/0.2658, allocations: 338.8 kB / 434 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.2661, allocations: 229.2 kB / 434.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008318/0.2669, allocations: 1.178 MB / 435.4 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2672, allocations: 219 kB / 435.6 MB, free: 6.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003682/0.2675, allocations: 473 kB / 436 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004682/0.268, allocations: 0.5067 MB / 436.5 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001349/0.2681, allocations: 102.9 kB / 436.6 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.2683, allocations: 106 kB / 436.7 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.2685, allocations: 228.2 kB / 437 MB, free: 6.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003967/0.2689, allocations: 0.5197 MB / 437.5 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.27, allocations: 1.204 MB / 438.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.27, allocations: 0 / 438.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.27, allocations: 0 / 438.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.27, allocations: 0.75 kB / 438.7 MB, free: 5.918 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.002082/0.2721, allocations: 1.364 MB / 440.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2721, allocations: 10.97 kB / 440.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.262e-05/0.2721, allocations: 30.77 kB / 440.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.2723, allocations: 119.6 kB / 440.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001663/0.2725, allocations: 122.2 kB / 440.3 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008157/0.2733, allocations: 0.5946 MB / 440.9 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.2734, allocations: 148.3 kB / 441.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.97e-05/0.2735, allocations: 66.58 kB / 441.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.2749, allocations: 0.884 MB / 442 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.2749, allocations: 5.609 kB / 442 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.565e-05/0.275, allocations: 28 kB / 442 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.275, allocations: 14.28 kB / 442.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.2764, allocations: 0.6275 MB / 442.7 MB, free: 3.5 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.003271/0.2797, allocations: 2.199 MB / 444.9 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.2811, allocations: 0.9702 MB / 445.9 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007557/0.2819, allocations: 388.8 kB / 446.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.429e-05/0.282, allocations: 21.55 kB / 446.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.282, allocations: 50.59 kB / 446.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.524e-06/0.282, allocations: 1.062 kB / 446.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.01853/0.3005, allocations: 6.656 MB / 453 MB, free: 15.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007859/0.3084, allocations: 4.89 MB / 457.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/0.3092, allocations: 0.6399 MB / 458.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002084/0.3094, allocations: 53.14 kB / 458.5 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.3097, allocations: 338.4 kB / 458.9 MB, free: 10.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004634/0.3102, allocations: 490.7 kB / 459.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000424/0.3106, allocations: 228.7 kB / 459.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3108, allocations: 408.5 kB / 460 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.3122, allocations: 0.6725 MB / 460.7 MB, free: 9.176 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001721/0.3139, allocations: 0.9841 MB / 461.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002835/0.3167, allocations: 1.465 MB / 463.1 MB, free: 7.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3167, allocations: 1.219 kB / 463.1 MB, free: 7.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006019/0.3228, allocations: 2.376 MB / 465.5 MB, free: 6.469 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.897e-05/0.3228, allocations: 83.58 kB / 465.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3228, allocations: 7.297 kB / 465.6 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/0.3254, allocations: 0.7601 MB / 466.3 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/0.3264, allocations: 227.6 kB / 466.6 MB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01763/0.344, allocations: 14.26 MB / 480.8 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002473/0.3465, allocations: 191.7 kB / 481 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001717/0.3467, allocations: 60.19 kB / 481.1 MB, free: 8.055 MB / 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.0005907/0.3473, allocations: 254.2 kB / 481.3 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/0.3475, allocations: 111.3 kB / 481.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.3478, allocations: 126.2 kB / 481.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006065/0.3539, allocations: 2.185 MB / 483.7 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.3539, allocations: 8 kB / 483.7 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005853/0.3597, allocations: 2.541 MB / 486.3 MB, free: 2.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009858/0.3696, allocations: 4.525 MB / 490.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3696, allocations: 0 / 490.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009861/0.3706, allocations: 215.7 kB / 491 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003769/0.3743, allocations: 1.143 MB / 492.2 MB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.3744, allocations: 31.97 kB / 492.2 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/0.394, allocations: 13.36 MB / 0.4937 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007161/0.4011, allocations: 3.818 MB / 0.4974 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008099/0.4092, allocations: 3.324 MB / 0.5007 GB, free: 7.184 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000801/0.41, allocations: 348.2 kB / 0.501 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/0.4102, allocations: 24 kB / 0.501 GB, free: 6.801 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/0.4116, allocations: 131.8 kB / 0.5012 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004231/0.412, allocations: 137.1 kB / 0.5013 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.602e-05/0.4121, allocations: 48.02 kB / 0.5013 GB, free: 6.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005774/0.4127, allocations: 451.1 kB / 0.5018 GB, free: 6.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4127, allocations: 8 kB / 0.5018 GB, free: 6.047 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001779/0.4145, allocations: 0.582 MB / 0.5023 GB, free: 5.465 MB / 414.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.008243/0.4227, allocations: 3.916 MB / 0.5062 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004807/0.4275, allocations: 2.759 MB / 0.5089 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4275, allocations: 0 / 0.5089 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00404/0.4316, allocations: 1.838 MB / 0.5106 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.433, allocations: 262 kB / 0.5109 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02347/0.4565, allocations: 12.01 MB / 0.5226 GB, free: 236 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.4572, allocations: 1.053 MB / 0.5237 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007008/0.4579, allocations: 148.5 kB / 0.5238 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006914/0.4586, allocations: 407.2 kB / 0.5242 GB, free: 14.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.113e-06/0.4586, allocations: 0 / 0.5242 GB, free: 14.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09399/0.5526, allocations: 40.75 MB / 0.564 GB, free: 6.219 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.03/14.58, allocations: 15.8 kB / 0.564 GB, free: 6.203 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.894250403973274] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.749965146998875 14.76310987 14.490361988 Calling exit ...