Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 107.8 kB / 17.16 MB, free: 6.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 194 kB / 18.08 MB, free: 5.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 223.9 MB, free: 12.53 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 48.39 kB / 280.1 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.08991, allocations: 46.62 MB / 326.7 MB, free: 4.809 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006085/0.09602, allocations: 5.601 MB / 332.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002489/0.09854, allocations: 1.461 MB / 333.8 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003335/0.09889, allocations: 15.94 kB / 333.8 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004112/0.09934, allocations: 159 kB / 333.9 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006125/0.09996, allocations: 341.3 kB / 334.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.1004, allocations: 219.8 kB / 334.5 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001043/0.1015, allocations: 1.308 MB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.1019, allocations: 372.3 kB / 336.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.1023, allocations: 486.1 kB / 336.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004721/0.1028, allocations: 0.5562 MB / 337.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.1029, allocations: 84 kB / 337.3 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.1031, allocations: 88 kB / 337.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001673/0.1033, allocations: 227.1 kB / 337.6 MB, free: 9.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000459/0.1037, allocations: 0.5754 MB / 338.1 MB, free: 9.277 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.1047, allocations: 1.347 MB / 339.5 MB, free: 7.926 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1047, allocations: 0 / 339.5 MB, free: 7.926 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1047, allocations: 0 / 339.5 MB, free: 7.926 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.1047, allocations: 0 / 339.5 MB, free: 7.926 MB / 286.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.00226/0.107, allocations: 1.485 MB / 341 MB, free: 6.367 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1071, allocations: 15.91 kB / 341 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001695/0.1072, allocations: 132.6 kB / 341.1 MB, free: 6.215 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.1074, allocations: 131.5 kB / 341.2 MB, free: 6.086 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007685/0.1082, allocations: 0.6304 MB / 341.9 MB, free: 5.414 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/0.1084, allocations: 155.6 kB / 342 MB, free: 5.242 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.8e-05/0.1085, allocations: 64.38 kB / 342.1 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.1098, allocations: 0.9899 MB / 343.1 MB, free: 4.074 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.1099, allocations: 0 / 343.1 MB, free: 4.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.1099, allocations: 32 kB / 343.1 MB, free: 4.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.425e-05/0.11, allocations: 16 kB / 343.1 MB, free: 4.027 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.1112, allocations: 0.6246 MB / 343.8 MB, free: 3.402 MB / 286.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.003598/0.1148, allocations: 2.671 MB / 346.4 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00237/0.1172, allocations: 0.8746 MB / 347.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006503/0.1178, allocations: 354.7 kB / 347.6 MB, free: 15.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.785e-05/0.1179, allocations: 20.58 kB / 347.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.1179, allocations: 51.22 kB / 347.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.024e-06/0.1179, allocations: 0 / 347.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002399/0.1203, allocations: 1.397 MB / 349.1 MB, free: 13.74 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004109/0.1208, allocations: 0.9527 MB / 350.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009294/0.1217, allocations: 0.7864 MB / 350.9 MB, free: 11.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.263e-05/0.1218, allocations: 49.7 kB / 350.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.1221, allocations: 420.4 kB / 351.3 MB, free: 11.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/0.1223, allocations: 250.2 kB / 351.6 MB, free: 11.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002473/0.1226, allocations: 158.6 kB / 351.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1227, allocations: 341.9 kB / 352 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005271/0.1232, allocations: 253.9 kB / 352.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007912/0.124, allocations: 0.588 MB / 352.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.1251, allocations: 0.6639 MB / 353.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1251, allocations: 0 / 353.5 MB, free: 8.887 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001578/0.1267, allocations: 0.9508 MB / 354.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.887e-05/0.1268, allocations: 89.05 kB / 354.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1268, allocations: 0 / 354.6 MB, free: 7.789 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.1271, allocations: 124.2 kB / 354.7 MB, free: 7.652 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007221/0.1279, allocations: 159.8 kB / 354.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004881/0.1328, allocations: 6.777 MB / 361.6 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009887/0.1338, allocations: 103.4 kB / 361.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.685e-05/0.1338, allocations: 28 kB / 361.8 MB, free: 15.91 MB / 318.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.0003948/0.1342, allocations: 237.6 kB / 362 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.1344, allocations: 102.8 kB / 362.1 MB, free: 15.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/0.1346, allocations: 116.8 kB / 362.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1346, allocations: 8 kB / 362.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.1346, allocations: 0 / 362.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001245/0.1359, allocations: 0.9738 MB / 363.2 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/0.1384, allocations: 1.754 MB / 364.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1384, allocations: 0 / 364.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/0.1391, allocations: 159.8 kB / 365.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.801e-05/0.1392, allocations: 25.06 kB / 365.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.1393, allocations: 16 kB / 365.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008001/0.1401, allocations: 1.3 MB / 366.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1401, allocations: 3.938 kB / 366.4 MB, free: 10.9 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/0.1419, allocations: 1.072 MB / 367.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.1423, allocations: 255.7 kB / 367.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.1424, allocations: 20 kB / 367.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.143, allocations: 51.8 kB / 367.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.951e-05/0.1431, allocations: 48.59 kB / 367.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.576e-05/0.1432, allocations: 16 kB / 367.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006715/0.1439, allocations: 0.5498 MB / 368.5 MB, free: 8.859 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1439, allocations: 0 / 368.5 MB, free: 8.859 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007949/0.1447, allocations: 291.7 kB / 368.7 MB, free: 8.574 MB / 318.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.00216/0.1468, allocations: 1.652 MB / 370.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.1489, allocations: 1.386 MB / 371.8 MB, free: 5.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.1489, allocations: 4.25 kB / 371.8 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006364/0.1495, allocations: 418.3 kB / 372.2 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.1508, allocations: 259.3 kB / 372.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1431/0.294, allocations: 8.812 MB / 381.3 MB, free: 51.16 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.2944, allocations: 0.9831 MB / 382.2 MB, free: 50.46 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005989/0.295, allocations: 126.6 kB / 382.4 MB, free: 50.45 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.2955, allocations: 355.3 kB / 382.7 MB, free: 50.27 MB / 318.1 MB Notification: Performance of SimCode: time 9.22e-07/0.2955, allocations: 1.062 kB / 382.7 MB, free: 50.27 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09882/0.3943, allocations: 24.76 MB / 407.5 MB, free: 34.31 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.3945, allocations: 240.4 kB / 407.7 MB, free: 34.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.84, allocations: 4 kB / 407.7 MB, free: 34.05 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches