Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001208/0.001208, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001342/0.001342, allocations: 211.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.343/1.343, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 43.94 kB / 378.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2285, allocations: 53.37 MB / 431.9 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.005846/0.2344, allocations: 4.509 MB / 436.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.2366, allocations: 1.293 MB / 437.7 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.2368, allocations: 15.88 kB / 437.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004054/0.2372, allocations: 154.6 kB / 437.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005896/0.2378, allocations: 329.2 kB / 438.2 MB, free: 352 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.2382, allocations: 235.6 kB / 438.4 MB, free: 116 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.2393, allocations: 1.175 MB / 439.6 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003346/0.2397, allocations: 218.5 kB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.2402, allocations: 474.4 kB / 440.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005988/0.2408, allocations: 0.5135 MB / 440.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.2409, allocations: 100 kB / 440.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.2411, allocations: 108 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001992/0.2413, allocations: 223.2 kB / 441.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.2417, allocations: 442.2 kB / 441.6 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001154/0.2429, allocations: 1.218 MB / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2429, allocations: 0 / 442.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2429, allocations: 4 kB / 442.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.2429, allocations: 0 / 442.8 MB, free: 11.64 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.002357/0.2453, allocations: 1.292 MB / 444.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2453, allocations: 12.03 kB / 444.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.036e-05/0.2454, allocations: 17.45 kB / 444.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.2455, allocations: 131.9 kB / 444.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.2457, allocations: 120.3 kB / 444.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009522/0.2467, allocations: 0.535 MB / 444.9 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.2469, allocations: 304.9 kB / 445.2 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2471, allocations: 60 kB / 445.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.2489, allocations: 1.644 MB / 446.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.249, allocations: 15.88 kB / 446.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.249, allocations: 32 kB / 447 MB, free: 7.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.249, allocations: 16 kB / 447 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.2504, allocations: 0.6258 MB / 447.6 MB, free: 6.422 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.003254/0.2537, allocations: 1.745 MB / 449.4 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.2552, allocations: 0.7328 MB / 450.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.256, allocations: 395.6 kB / 450.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.352e-05/0.2561, allocations: 9 kB / 450.5 MB, free: 3.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.2561, allocations: 51.56 kB / 450.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.455e-06/0.2561, allocations: 0 / 450.5 MB, free: 3.441 MB / 350.1 MB Notification: Performance of matching and sorting (n=136): time 0.01827/0.2744, allocations: 6.241 MB / 456.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007693/0.2821, allocations: 4.717 MB / 461.5 MB, free: 8.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008068/0.2829, allocations: 0.6293 MB / 462.1 MB, free: 7.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001845/0.2831, allocations: 57.7 kB / 462.2 MB, free: 7.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.2833, allocations: 338 kB / 462.5 MB, free: 7.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.2838, allocations: 499.6 kB / 463 MB, free: 6.578 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00043/0.2842, allocations: 238.9 kB / 463.2 MB, free: 6.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002017/0.2844, allocations: 402.7 kB / 463.6 MB, free: 5.938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/0.2858, allocations: 0.7533 MB / 464.4 MB, free: 5.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002162/0.288, allocations: 1.82 MB / 466.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002823/0.2908, allocations: 1.466 MB / 467.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2908, allocations: 0 / 467.7 MB, free: 1.543 MB / 366.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.006118/0.2969, allocations: 2.449 MB / 470.1 MB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.297, allocations: 89.11 kB / 470.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.297, allocations: 0 / 470.2 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/0.2996, allocations: 0.7559 MB / 471 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009834/0.3006, allocations: 231.6 kB / 471.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01648/0.3171, allocations: 13.34 MB / 484.5 MB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.3189, allocations: 195.9 kB / 484.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.3191, allocations: 51.95 kB / 484.8 MB, free: 15.41 MB / 398.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.0004898/0.3196, allocations: 257.8 kB / 485 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.3198, allocations: 111.5 kB / 485.1 MB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002366/0.32, allocations: 118.2 kB / 485.2 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005784/0.3258, allocations: 2.197 MB / 487.4 MB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.3258, allocations: 8 kB / 487.4 MB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005764/0.3316, allocations: 2.547 MB / 490 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009253/0.3408, allocations: 4.067 MB / 494.1 MB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.3408, allocations: 0 / 494.1 MB, free: 5.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009471/0.3418, allocations: 219.6 kB / 494.3 MB, free: 5.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003599/0.3454, allocations: 1.121 MB / 495.4 MB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/0.3455, allocations: 43.95 kB / 495.4 MB, free: 4.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01843/0.3639, allocations: 12.61 MB / 0.4961 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006868/0.3708, allocations: 3.642 MB / 0.4997 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00771/0.3785, allocations: 3.317 MB / 0.5029 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007448/0.3792, allocations: 283.1 kB / 0.5032 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/0.3794, allocations: 24 kB / 0.5032 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.3807, allocations: 131.8 kB / 0.5034 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004434/0.3811, allocations: 149 kB / 0.5035 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/0.3812, allocations: 40.09 kB / 0.5035 GB, free: 15.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005636/0.3818, allocations: 463 kB / 0.504 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3818, allocations: 0 / 0.504 GB, free: 14.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00161/0.3834, allocations: 0.582 MB / 0.5045 GB, free: 14.4 MB / 430.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.007848/0.3912, allocations: 3.915 MB / 0.5084 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004598/0.3958, allocations: 2.831 MB / 0.5111 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3958, allocations: 0 / 0.5111 GB, free: 7.457 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003735/0.3995, allocations: 1.842 MB / 0.5129 GB, free: 5.539 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.4008, allocations: 251 kB / 0.5132 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/0.4235, allocations: 12.31 MB / 0.5252 GB, free: 8.711 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.424, allocations: 478.3 kB / 0.5256 GB, free: 8.211 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000642/0.4247, allocations: 156.5 kB / 0.5258 GB, free: 8.055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006729/0.4253, allocations: 407.2 kB / 0.5262 GB, free: 7.656 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4253, allocations: 0 / 0.5262 GB, free: 7.656 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2614/0.6867, allocations: 43.44 MB / 0.5686 GB, free: 112.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.62/15.31, allocations: 14.62 kB / 0.5686 GB, free: 112.1 MB / 462.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.610156001057476] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 15.505696694017388 15.514909062 15.269856179 Calling exit ...