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.001057/0.001057, allocations: 95.47 kB / 16.94 MB, free: 6.441 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.001266/0.001266, allocations: 184.3 kB / 17.83 MB, free: 6.008 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.566/1.566, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004405/0.0004406, allocations: 23.94 kB / 280.9 MB, free: 3.652 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08511, allocations: 47.57 MB / 328.4 MB, free: 4.012 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004679/0.08983, allocations: 4.42 MB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.09241, allocations: 1.408 MB / 334.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003074/0.09275, allocations: 15.94 kB / 334.3 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002809/0.09304, allocations: 127 kB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006432/0.09369, allocations: 402.9 kB / 334.8 MB, free: 13.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.09407, allocations: 199.7 kB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009392/0.09502, allocations: 0.9254 MB / 335.9 MB, free: 12.49 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003886/0.09542, allocations: 323.2 kB / 336.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003788/0.09581, allocations: 430.6 kB / 336.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.09631, allocations: 0.4902 MB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.09644, allocations: 72 kB / 337.2 MB, free: 11.18 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.0966, allocations: 68 kB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.09677, allocations: 195.2 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.09699, allocations: 237.1 kB / 337.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008411/0.09784, allocations: 0.962 MB / 338.6 MB, free: 9.723 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09785, allocations: 4 kB / 338.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.09786, allocations: 4 kB / 338.7 MB, free: 9.715 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.09788, allocations: 0 / 338.7 MB, free: 9.715 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.002139/0.1, allocations: 1.298 MB / 340 MB, free: 8.348 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1001, allocations: 8.031 kB / 340 MB, free: 8.34 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.1003, allocations: 128.4 kB / 340.1 MB, free: 8.203 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000182/0.1005, allocations: 130.6 kB / 340.2 MB, free: 8.074 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.1012, allocations: 0.5478 MB / 340.8 MB, free: 7.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.1014, allocations: 163 kB / 340.9 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.417e-05/0.1015, allocations: 75.84 kB / 341 MB, free: 7.234 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.103, allocations: 0.9822 MB / 342 MB, free: 6.133 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.103, allocations: 0 / 342 MB, free: 6.133 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-05/0.1031, allocations: 32 kB / 342 MB, free: 6.102 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.332e-05/0.1031, allocations: 16 kB / 342 MB, free: 6.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001223/0.1043, allocations: 0.648 MB / 342.7 MB, free: 5.441 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.003684/0.108, allocations: 2.616 MB / 345.3 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.1106, allocations: 0.9063 MB / 346.2 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.275e-05/0.1106, allocations: 20.64 kB / 346.2 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1107, allocations: 55.03 kB / 346.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.274e-06/0.1107, allocations: 0 / 346.3 MB, free: 1.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.002501/0.1132, allocations: 1.455 MB / 347.7 MB, free: 72 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004286/0.1136, allocations: 0.9489 MB / 348.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007975/0.1144, allocations: 0.7199 MB / 349.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.86e-05/0.1145, allocations: 45.7 kB / 349.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003071/0.1148, allocations: 420.4 kB / 349.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.115, allocations: 248.4 kB / 350.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1151, allocations: 16 kB / 350.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1152, allocations: 341.9 kB / 350.4 MB, free: 13.1 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005463/0.1158, allocations: 261.9 kB / 350.7 MB, free: 12.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008172/0.1166, allocations: 0.5919 MB / 351.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006246/0.1172, allocations: 401.8 kB / 351.7 MB, free: 11.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1172, allocations: 4 kB / 351.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001623/0.1189, allocations: 0.9704 MB / 352.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.659e-05/0.1189, allocations: 85.14 kB / 352.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.119, allocations: 4 kB / 352.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003405/0.1193, allocations: 132.1 kB / 352.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.12, allocations: 159.8 kB / 353 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005565/0.1256, allocations: 6.976 MB / 360 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001105/0.1267, allocations: 111.2 kB / 360.1 MB, free: 2.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.1268, allocations: 27.98 kB / 360.1 MB, free: 2.516 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 (79): * Single equations (assignments): 71 * 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%) 3} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000512/0.1273, allocations: 245.7 kB / 360.4 MB, free: 2.266 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/0.1275, allocations: 102.9 kB / 360.5 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.1277, allocations: 96.91 kB / 360.6 MB, free: 2.066 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.1278, allocations: 8 kB / 360.6 MB, free: 2.059 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.1278, allocations: 4 kB / 360.6 MB, free: 2.055 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001359/0.1291, allocations: 1.001 MB / 361.6 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.1319, allocations: 1.727 MB / 363.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.1319, allocations: 0 / 363.3 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000738/0.1327, allocations: 167.8 kB / 363.5 MB, free: 14.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001149/0.1328, allocations: 28.84 kB / 363.5 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.1328, allocations: 12 kB / 363.5 MB, free: 14.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00117/0.134, allocations: 1.452 MB / 365 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.134, allocations: 0 / 365 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.1361, allocations: 1.107 MB / 366.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004113/0.1365, allocations: 255.7 kB / 366.3 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.1367, allocations: 20 kB / 366.3 MB, free: 11.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006171/0.1373, allocations: 43.91 kB / 366.4 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.152e-05/0.1374, allocations: 52.58 kB / 366.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.549e-05/0.1374, allocations: 16 kB / 366.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006149/0.138, allocations: 0.4951 MB / 367 MB, free: 11.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.138, allocations: 4 kB / 367 MB, free: 11.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008879/0.1389, allocations: 291.6 kB / 367.2 MB, free: 11.05 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 (69): * Single equations (assignments): 68 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002226/0.1412, allocations: 1.683 MB / 368.9 MB, free: 9.332 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.1433, allocations: 1.413 MB / 370.3 MB, free: 7.82 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.1434, allocations: 4 kB / 370.3 MB, free: 7.816 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007396/0.1441, allocations: 438.5 kB / 370.8 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.1451, allocations: 247.1 kB / 371 MB, free: 7.141 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003849/0.149, allocations: 3.101 MB / 374.1 MB, free: 3.973 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/0.1496, allocations: 1.006 MB / 375.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005147/0.1502, allocations: 106.4 kB / 375.2 MB, free: 2.828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/0.1506, allocations: 351.3 kB / 375.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1506, allocations: 0 / 375.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1973/0.3479, allocations: 22.46 MB / 398 MB, free: 42.29 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00014/0.3481, allocations: 224.8 kB / 398.2 MB, free: 42.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.48/2.828, allocations: 0 / 398.2 MB, free: 42.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/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