Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.004712/0.004712, allocations: 100.7 kB / 21.96 MB, free: 5.211 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.001328/0.001328, allocations: 217.5 kB / 25.26 MB, free: 3.141 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.31/1.31, allocations: 207.7 MB / 236.1 MB, free: 9.82 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.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",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.00164/0.00164, allocations: 57.8 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2426, allocations: 49.15 MB / 397.1 MB, free: 8.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.004798/0.2474, allocations: 4.495 MB / 401.6 MB, free: 5.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2496, allocations: 1.297 MB / 402.9 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002708/0.2499, allocations: 10.94 kB / 402.9 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.2502, allocations: 155.7 kB / 403.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00056/0.2508, allocations: 342.2 kB / 403.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003808/0.2512, allocations: 234.5 kB / 403.6 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.2522, allocations: 1.173 MB / 404.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.2525, allocations: 215.1 kB / 405 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004723/0.253, allocations: 470.8 kB / 405.5 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.2535, allocations: 0.5051 MB / 406 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.2536, allocations: 103.2 kB / 406.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000172/0.2538, allocations: 106 kB / 406.2 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.254, allocations: 224.4 kB / 406.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.2543, allocations: 453 kB / 406.9 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2554, allocations: 1.214 MB / 408.1 MB, free: 2.41 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2554, allocations: 5.375 kB / 408.1 MB, free: 2.406 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2554, allocations: 0 / 408.1 MB, free: 2.406 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.2554, allocations: 0 / 408.1 MB, free: 2.406 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002086/0.2575, allocations: 1.296 MB / 409.4 MB, free: 1.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2575, allocations: 18.33 kB / 409.4 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.393e-05/0.2576, allocations: 19 kB / 409.4 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.2577, allocations: 126.7 kB / 409.5 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.2579, allocations: 116.9 kB / 409.7 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008852/0.2588, allocations: 0.5357 MB / 410.2 MB, free: 1.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.259, allocations: 307.7 kB / 410.5 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.2591, allocations: 66.25 kB / 410.6 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.2607, allocations: 1.644 MB / 412.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.2607, allocations: 5.125 kB / 412.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.2608, allocations: 32.91 kB / 412.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.2608, allocations: 14.59 kB / 412.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.2623, allocations: 0.6216 MB / 412.9 MB, free: 14.79 MB / 334.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.003421/0.2657, allocations: 1.737 MB / 414.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001512/0.2672, allocations: 0.7354 MB / 415.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007939/0.268, allocations: 390.1 kB / 415.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.79e-05/0.268, allocations: 11.09 kB / 415.7 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.473e-05/0.2681, allocations: 55.47 kB / 415.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.555e-06/0.2681, allocations: 0 / 415.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=136): time 0.01846/0.2865, allocations: 6.251 MB / 422 MB, free: 9.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007673/0.2942, allocations: 4.723 MB / 426.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008262/0.295, allocations: 0.6293 MB / 427.4 MB, free: 3.992 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.2952, allocations: 53.7 kB / 427.4 MB, free: 3.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.2955, allocations: 342 kB / 427.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006025/0.2961, allocations: 491.7 kB / 428.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004602/0.2966, allocations: 230.9 kB / 428.5 MB, free: 2.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002176/0.2968, allocations: 410.7 kB / 428.9 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.2983, allocations: 0.7455 MB / 429.6 MB, free: 1.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002214/0.3005, allocations: 1.831 MB / 431.5 MB, free: 15.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/0.3035, allocations: 1.466 MB / 432.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3035, allocations: 0 / 432.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006259/0.3097, allocations: 2.457 MB / 435.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/0.3098, allocations: 85.11 kB / 435.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3098, allocations: 0 / 435.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/0.3124, allocations: 0.752 MB / 436.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.3134, allocations: 227.7 kB / 436.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01716/0.3306, allocations: 13.36 MB / 449.8 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002109/0.3327, allocations: 191.8 kB / 450 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.3329, allocations: 47.95 kB / 450 MB, free: 11.93 MB / 366.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.0005341/0.3334, allocations: 257.7 kB / 450.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/0.3336, allocations: 119.3 kB / 450.4 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.3338, allocations: 114.3 kB / 450.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005975/0.3398, allocations: 2.189 MB / 452.7 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.3398, allocations: 7.984 kB / 452.7 MB, free: 9.211 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006009/0.3458, allocations: 2.539 MB / 455.3 MB, free: 6.551 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009888/0.3557, allocations: 4.075 MB / 459.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.3557, allocations: 0 / 459.3 MB, free: 2.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.3568, allocations: 215.7 kB / 459.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0039/0.3607, allocations: 1.129 MB / 460.7 MB, free: 1.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.3608, allocations: 35.95 kB / 460.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01949/0.3803, allocations: 12.61 MB / 473.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00714/0.3875, allocations: 3.651 MB / 477 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008407/0.3959, allocations: 3.325 MB / 480.3 MB, free: 12.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008629/0.3967, allocations: 271.1 kB / 480.6 MB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003507/0.3971, allocations: 24 kB / 480.6 MB, free: 12.28 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.3985, allocations: 127.8 kB / 480.7 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004487/0.3989, allocations: 149 kB / 480.8 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.3991, allocations: 43.95 kB / 480.9 MB, free: 11.96 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006938/0.3998, allocations: 455.1 kB / 481.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3998, allocations: 192 / 481.3 MB, free: 11.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002043/0.4018, allocations: 0.582 MB / 481.9 MB, free: 10.94 MB / 398.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.008431/0.4102, allocations: 3.915 MB / 485.8 MB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004964/0.4152, allocations: 2.831 MB / 488.7 MB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.4152, allocations: 4 kB / 488.7 MB, free: 3.984 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00388/0.4191, allocations: 1.835 MB / 490.5 MB, free: 2.074 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.4209, allocations: 260.5 kB / 490.8 MB, free: 1.824 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02495/0.4459, allocations: 12.31 MB / 0.4913 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.4465, allocations: 478.3 kB / 0.4917 GB, free: 4.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008412/0.4473, allocations: 148.5 kB / 0.4919 GB, free: 4.574 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008004/0.4481, allocations: 407.2 kB / 0.4923 GB, free: 4.176 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4481, allocations: 0 / 0.4923 GB, free: 4.176 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09811/0.5462, allocations: 43.45 MB / 0.5347 GB, free: 8.508 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.84/15.39, allocations: 11.94 kB / 0.5347 GB, free: 8.496 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.658416467020288] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.59038138599135 15.612007014 15.352727846 Calling exit ...