Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 104.7 kB / 18.49 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 189 kB / 21.43 MB, free: 1.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 43.94 kB / 366.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08601/0.08746, allocations: 52.15 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00578/0.09323, allocations: 5.059 MB / 423.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.0951, allocations: 1.297 MB / 424.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/0.09532, allocations: 11.94 kB / 424.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.09567, allocations: 162.6 kB / 425 MB, free: 6.035 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.09624, allocations: 333.2 kB / 425.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.09664, allocations: 227.6 kB / 425.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.09777, allocations: 1.183 MB / 426.7 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.0981, allocations: 214.1 kB / 427 MB, free: 4.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.09853, allocations: 466.4 kB / 427.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005374/0.09907, allocations: 0.5057 MB / 427.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.0992, allocations: 104 kB / 428 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.09936, allocations: 108 kB / 428.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001803/0.09954, allocations: 223.2 kB / 428.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004532/0.09999, allocations: 0.5211 MB / 428.9 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.1011, allocations: 1.206 MB / 430.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1011, allocations: 0 / 430.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1011, allocations: 0 / 430.1 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.1011, allocations: 0 / 430.1 MB, free: 0.9375 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.002323/0.1034, allocations: 1.367 MB / 431.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.1035, allocations: 12.03 kB / 431.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.652e-05/0.1035, allocations: 21.48 kB / 431.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001684/0.1037, allocations: 123.9 kB / 431.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000178/0.1039, allocations: 124.3 kB / 431.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009309/0.1048, allocations: 0.6071 MB / 432.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.105, allocations: 146.7 kB / 432.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1051, allocations: 68 kB / 432.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.1066, allocations: 0.886 MB / 433.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1066, allocations: 7.953 kB / 433.4 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.845e-05/0.1066, allocations: 28 kB / 433.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1067, allocations: 12 kB / 433.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/0.1081, allocations: 0.6297 MB / 434.1 MB, free: 12.67 MB / 366.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.003356/0.1115, allocations: 2.198 MB / 436.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.1132, allocations: 0.9534 MB / 437.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008257/0.114, allocations: 404.7 kB / 437.6 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.745e-05/0.114, allocations: 13 kB / 437.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.1141, allocations: 55.56 kB / 437.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of pre-optimization done (n=87): time 2.094e-06/0.1141, allocations: 0 / 437.7 MB, free: 8.895 MB / 366.1 MB Notification: Performance of matching and sorting (n=136): time 0.01916/0.1332, allocations: 6.635 MB / 444.3 MB, free: 2.105 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1743/0.3076, allocations: 4.886 MB / 449.2 MB, free: 27.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006719/0.3082, allocations: 0.6393 MB / 449.9 MB, free: 27.67 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001916/0.3084, allocations: 52.3 kB / 449.9 MB, free: 27.64 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3086, allocations: 338.9 kB / 450.2 MB, free: 27.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003048/0.3089, allocations: 489.1 kB / 450.7 MB, free: 27.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.3093, allocations: 237.8 kB / 451 MB, free: 27.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.3094, allocations: 411.3 kB / 451.4 MB, free: 27.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.3106, allocations: 0.6664 MB / 452 MB, free: 27.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.312, allocations: 0.99 MB / 453 MB, free: 26.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/0.3146, allocations: 1.467 MB / 454.5 MB, free: 26.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3146, allocations: 0 / 454.5 MB, free: 26.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.005832/0.3204, allocations: 2.372 MB / 456.9 MB, free: 25.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.535e-05/0.3205, allocations: 88.78 kB / 456.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.948e-06/0.3205, allocations: 1.125 kB / 456.9 MB, free: 25.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002504/0.323, allocations: 0.7448 MB / 457.7 MB, free: 25.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.324, allocations: 231.4 kB / 457.9 MB, free: 25.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.3369, allocations: 14.26 MB / 472.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.3389, allocations: 196.7 kB / 472.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.339, allocations: 50.5 kB / 472.4 MB, free: 12.45 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.0004037/0.3395, allocations: 262.1 kB / 472.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.3396, allocations: 112.2 kB / 472.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.3398, allocations: 122 kB / 472.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005716/0.3456, allocations: 2.186 MB / 475.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.3456, allocations: 3.438 kB / 475.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005371/0.3509, allocations: 2.553 MB / 477.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008322/0.3593, allocations: 4.514 MB / 482.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.3593, allocations: 4.625 kB / 482.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008877/0.3602, allocations: 218.1 kB / 482.4 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003358/0.3635, allocations: 1.134 MB / 483.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.901e-05/0.3636, allocations: 29.91 kB / 483.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01605/0.3796, allocations: 13.38 MB / 496.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006873/0.3865, allocations: 3.818 MB / 0.489 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007941/0.3945, allocations: 3.327 MB / 0.4922 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006035/0.3951, allocations: 336.3 kB / 0.4926 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001592/0.3952, allocations: 36.12 kB / 0.4926 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/0.3965, allocations: 129.1 kB / 0.4927 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004077/0.397, allocations: 141 kB / 0.4929 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-05/0.397, allocations: 47.89 kB / 0.4929 GB, free: 4.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000563/0.3976, allocations: 455 kB / 0.4933 GB, free: 3.957 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3976, allocations: 0 / 0.4933 GB, free: 3.957 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001673/0.3993, allocations: 0.5851 MB / 0.4939 GB, free: 3.375 MB / 382.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.008005/0.4073, allocations: 3.925 MB / 0.4977 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004627/0.4119, allocations: 2.747 MB / 0.5004 GB, free: 12.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.4119, allocations: 8 kB / 0.5004 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003803/0.4157, allocations: 1.835 MB / 0.5022 GB, free: 10.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4168, allocations: 252.1 kB / 0.5025 GB, free: 10.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02283/0.4397, allocations: 11.99 MB / 0.5142 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000693/0.4404, allocations: 1.057 MB / 0.5152 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005918/0.441, allocations: 152.5 kB / 0.5154 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006547/0.4416, allocations: 403.2 kB / 0.5157 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4416, allocations: 0 / 0.5157 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08837/0.53, allocations: 40.77 MB / 0.5556 GB, free: 4.203 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/14.29, allocations: 11.75 kB / 0.5556 GB, free: 4.191 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.506342062028125] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor1.T', 'heatCapacitor2.T', 'pipe1.T', 'pipe2.T', 'pipe3.T'] 14.456249926995952 14.469980281 14.366127173 Calling exit ...