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.0008907/0.0008904, allocations: 97.31 kB / 16.95 MB, free: 6.891 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.00115/0.00115, allocations: 184.9 kB / 17.84 MB, free: 6.137 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.514/1.514, allocations: 205.4 MB / 224 MB, free: 13.15 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.0006136/0.0006137, allocations: 12 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09961/0.1002, allocations: 47.58 MB / 328.4 MB, free: 3.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004656/0.1049, allocations: 4.893 MB / 333.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.1073, allocations: 1.353 MB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.1079, allocations: 15.94 kB / 334.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004469/0.1084, allocations: 123 kB / 334.8 MB, free: 13.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008891/0.1093, allocations: 337.3 kB / 335.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.1098, allocations: 199.7 kB / 335.4 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.1112, allocations: 1.191 MB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004823/0.1117, allocations: 331.2 kB / 336.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.1122, allocations: 454.4 kB / 337.3 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006925/0.1129, allocations: 0.5174 MB / 337.8 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.1131, allocations: 76 kB / 337.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000226/0.1134, allocations: 87.94 kB / 338 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001737/0.1136, allocations: 207.2 kB / 338.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.1138, allocations: 233.2 kB / 338.4 MB, free: 9.945 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007876/0.1146, allocations: 1.024 MB / 339.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.87e-06/0.1146, allocations: 0 / 339.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1146, allocations: 0 / 339.4 MB, free: 8.918 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.323e-05/0.1147, allocations: 0 / 339.4 MB, free: 8.918 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.002112/0.1168, allocations: 1.306 MB / 340.7 MB, free: 7.543 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.1169, allocations: 15.97 kB / 340.8 MB, free: 7.527 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/0.1171, allocations: 132.4 kB / 340.9 MB, free: 7.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002036/0.1173, allocations: 126.6 kB / 341 MB, free: 7.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000846/0.1182, allocations: 0.6025 MB / 341.6 MB, free: 6.617 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.1183, allocations: 159.1 kB / 341.8 MB, free: 6.445 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.05e-05/0.1184, allocations: 71.91 kB / 341.8 MB, free: 6.375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1198, allocations: 0.9861 MB / 342.8 MB, free: 5.27 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.1198, allocations: 0 / 342.8 MB, free: 5.27 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.564e-05/0.1199, allocations: 36 kB / 342.9 MB, free: 5.234 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1199, allocations: 16 kB / 342.9 MB, free: 5.219 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.1211, allocations: 0.6481 MB / 343.5 MB, free: 4.574 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.003558/0.1246, allocations: 2.667 MB / 346.2 MB, free: 1.738 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002139/0.1268, allocations: 0.8789 MB / 347.1 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006024/0.1274, allocations: 366.3 kB / 347.4 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.1275, allocations: 24.52 kB / 347.5 MB, free: 460 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.1275, allocations: 55.08 kB / 347.5 MB, free: 396 kB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 1.713e-06/0.1275, allocations: 0 / 347.5 MB, free: 396 kB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002161/0.1297, allocations: 1.436 MB / 348.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003303/0.13, allocations: 0.945 MB / 349.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008335/0.1309, allocations: 0.7863 MB / 350.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.1309, allocations: 45.7 kB / 350.7 MB, free: 12.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002719/0.1312, allocations: 424.3 kB / 351.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.1314, allocations: 248.3 kB / 351.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.1314, allocations: 12 kB / 351.4 MB, free: 12.14 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1315, allocations: 341.8 kB / 351.7 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/0.132, allocations: 265.9 kB / 352 MB, free: 11.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007389/0.1328, allocations: 0.5919 MB / 352.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005916/0.1334, allocations: 408 kB / 353 MB, free: 10.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1334, allocations: 0 / 353 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001493/0.1349, allocations: 0.9704 MB / 353.9 MB, free: 9.398 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.431e-05/0.135, allocations: 89.09 kB / 354 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.135, allocations: 1.859 kB / 354 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/0.1353, allocations: 124.2 kB / 354.2 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/0.1359, allocations: 163.8 kB / 354.3 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004495/0.1404, allocations: 6.781 MB / 361.1 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.1411, allocations: 111.2 kB / 361.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.1412, allocations: 28.06 kB / 361.2 MB, free: 1.41 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003037/0.1415, allocations: 241.6 kB / 361.5 MB, free: 1.164 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.1416, allocations: 110.7 kB / 361.6 MB, free: 1.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.1418, allocations: 104.9 kB / 361.7 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.628e-06/0.1418, allocations: 4 kB / 361.7 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.1418, allocations: 4 kB / 361.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/0.143, allocations: 0.9895 MB / 362.7 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.1455, allocations: 1.762 MB / 364.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1455, allocations: 4 kB / 364.4 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/0.1462, allocations: 167.8 kB / 364.6 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.591e-05/0.1462, allocations: 24.84 kB / 364.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.814e-05/0.1463, allocations: 19.94 kB / 364.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008485/0.1472, allocations: 1.3 MB / 366 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.1472, allocations: 0 / 366 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.149, allocations: 1.111 MB / 367.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.1494, allocations: 255.8 kB / 367.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.1495, allocations: 31.98 kB / 367.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.1501, allocations: 47.88 kB / 367.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.1502, allocations: 44.59 kB / 367.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.1502, allocations: 23.98 kB / 367.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006969/0.1509, allocations: 0.5342 MB / 368 MB, free: 10.29 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.151, allocations: 4 kB / 368 MB, free: 10.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008075/0.1518, allocations: 299.6 kB / 368.3 MB, free: 9.992 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/0.1541, allocations: 1.679 MB / 370 MB, free: 8.281 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.1561, allocations: 1.405 MB / 371.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1561, allocations: 3.938 kB / 371.4 MB, free: 6.773 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00068/0.1568, allocations: 430.6 kB / 371.8 MB, free: 6.336 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001153/0.158, allocations: 263.2 kB / 372.1 MB, free: 6.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009776/0.1678, allocations: 5.576 MB / 377.6 MB, free: 300 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.176/0.3438, allocations: 0.9835 MB / 378.6 MB, free: 51.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008984/0.3448, allocations: 125.8 kB / 378.7 MB, free: 51.82 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005875/0.3454, allocations: 355.9 kB / 379.1 MB, free: 51.81 MB / 318.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3454, allocations: 3.312 kB / 379.1 MB, free: 51.81 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08012/0.4255, allocations: 23.82 MB / 402.9 MB, free: 38.84 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001227/0.4256, allocations: 226.2 kB / 403.1 MB, free: 38.6 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/3.26, allocations: 4 kB / 403.1 MB, free: 38.6 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/linux/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) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat