Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.00183/0.00183, allocations: 119.8 kB / 17.74 MB, free: 5.32 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.002061/0.002061, allocations: 185.3 kB / 20.68 MB, free: 2.391 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.408/1.408, allocations: 222.9 MB / 246.4 MB, free: 4.199 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.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 51.92 kB / 357.5 MB, free: 8.922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09479/0.09628, allocations: 49.43 MB / 406.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007435/0.1038, allocations: 5.615 MB / 412.5 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1064, allocations: 1.421 MB / 414 MB, free: 392 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003134/0.1067, allocations: 11.94 kB / 414 MB, free: 380 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004439/0.1071, allocations: 198.3 kB / 414.2 MB, free: 180 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007048/0.1079, allocations: 388.7 kB / 414.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.1084, allocations: 255.6 kB / 414.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001387/0.1098, allocations: 1.363 MB / 416.2 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005476/0.1103, allocations: 411.1 kB / 416.6 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.1109, allocations: 0.506 MB / 417.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006862/0.1116, allocations: 0.5913 MB / 417.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.1117, allocations: 116 kB / 417.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002129/0.112, allocations: 124 kB / 417.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.1122, allocations: 255.1 kB / 418.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006375/0.1128, allocations: 0.6144 MB / 418.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001418/0.1143, allocations: 1.397 MB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1143, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1143, allocations: 0 / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.1143, allocations: 0 / 420.2 MB, free: 10.14 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002588/0.1169, allocations: 1.519 MB / 421.7 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.117, allocations: 8.031 kB / 421.7 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/0.1172, allocations: 132.6 kB / 421.8 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.1174, allocations: 136.2 kB / 421.9 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.1184, allocations: 0.6505 MB / 422.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000249/0.1187, allocations: 155.5 kB / 422.7 MB, free: 7.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1188, allocations: 72.38 kB / 422.8 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.1204, allocations: 0.9821 MB / 423.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.1204, allocations: 0 / 423.8 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.629e-05/0.1205, allocations: 36 kB / 423.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.1205, allocations: 16 kB / 423.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.1219, allocations: 0.6324 MB / 424.5 MB, free: 5.555 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.004287/0.1262, allocations: 2.66 MB / 427.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.1288, allocations: 0.8649 MB / 428 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007531/0.1296, allocations: 354.6 kB / 428.4 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.1296, allocations: 12.64 kB / 428.4 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.1297, allocations: 59.2 kB / 428.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.675e-06/0.1297, allocations: 0 / 428.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.1947/0.3244, allocations: 1.398 MB / 429.8 MB, free: 22.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002002/0.3246, allocations: 0.9479 MB / 430.8 MB, free: 21.13 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.3256, allocations: 0.7891 MB / 431.6 MB, free: 21.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.3258, allocations: 47.39 kB / 431.6 MB, free: 20.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000269/0.3261, allocations: 419.3 kB / 432 MB, free: 20.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.3263, allocations: 262 kB / 432.3 MB, free: 20.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.3266, allocations: 161.9 kB / 432.4 MB, free: 20.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.3266, allocations: 336 kB / 432.8 MB, free: 20.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.3272, allocations: 257.2 kB / 433 MB, free: 20.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007292/0.3279, allocations: 0.5847 MB / 433.6 MB, free: 20.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.329, allocations: 0.6646 MB / 434.3 MB, free: 20.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.329, allocations: 1.531 kB / 434.3 MB, free: 20.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001595/0.3306, allocations: 0.9588 MB / 435.2 MB, free: 19.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.828e-05/0.3307, allocations: 84.17 kB / 435.3 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3307, allocations: 1.656 kB / 435.3 MB, free: 19.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003418/0.331, allocations: 128.2 kB / 435.4 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.3317, allocations: 148.8 kB / 435.6 MB, free: 19.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004228/0.3359, allocations: 7.327 MB / 442.9 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.337, allocations: 100.3 kB / 443 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.226e-05/0.337, allocations: 27.91 kB / 443 MB, free: 12.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003608/0.3374, allocations: 246.7 kB / 443.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.3376, allocations: 109.2 kB / 443.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001684/0.3377, allocations: 99.66 kB / 443.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.3378, allocations: 7.688 kB / 443.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.3378, allocations: 2.703 kB / 443.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001272/0.339, allocations: 0.9778 MB / 444.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002734/0.3418, allocations: 1.745 MB / 446.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3418, allocations: 3.938 kB / 446.2 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007713/0.3426, allocations: 151 kB / 446.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001073/0.3427, allocations: 28.83 kB / 446.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.3428, allocations: 15.44 kB / 446.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006558/0.3434, allocations: 1.406 MB / 447.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3434, allocations: 1.25 kB / 447.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.3454, allocations: 1.085 MB / 448.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.3458, allocations: 261 kB / 449.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.3459, allocations: 20.5 kB / 449.2 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006507/0.3466, allocations: 43.2 kB / 449.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.973e-05/0.3467, allocations: 44.3 kB / 449.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.3468, allocations: 19.2 kB / 449.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000676/0.3474, allocations: 0.5477 MB / 449.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3474, allocations: 0 / 449.8 MB, free: 9.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008212/0.3483, allocations: 296.7 kB / 450.1 MB, free: 9.871 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002063/0.3503, allocations: 1.663 MB / 451.8 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002/0.3524, allocations: 1.396 MB / 453.2 MB, free: 8.168 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.3524, allocations: 6.078 kB / 453.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000664/0.353, allocations: 420.5 kB / 453.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.3542, allocations: 284.4 kB / 453.9 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/0.3657, allocations: 7.851 MB / 461.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.3662, allocations: 0.986 MB / 462.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006569/0.3669, allocations: 131.5 kB / 462.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/0.3673, allocations: 359.3 kB / 463.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3673, allocations: 0 / 463.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07099/0.4383, allocations: 26.28 MB / 489.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.23/14.67, allocations: 3.625 kB / 489.5 MB, free: 12.84 MB / 382.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.021809755126014] Failed to read output from testmodel.py, exit status != 0: ['time', 'heatCapacitor.T', 'innerPipe.T', 'outerPipe.T', 'pipe1.T'] 14.774233333067968 14.789180224 14.671845606 Calling exit ...