Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009255/0.0009254, allocations: 96.62 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001055/0.001055, allocations: 203.8 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002665/0.0002666, allocations: 15.97 kB / 306.7 MB, free: 1.258 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1063, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003617/0.1099, allocations: 2.774 MB / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.1117, allocations: 0.9042 MB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.1119, allocations: 4 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.1121, allocations: 71.5 kB / 362 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.1124, allocations: 199.4 kB / 362.1 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1126, allocations: 91.83 kB / 362.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000547/0.1132, allocations: 459 kB / 362.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.1135, allocations: 147.7 kB / 362.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.1137, allocations: 203.3 kB / 363 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002522/0.1139, allocations: 223.1 kB / 363.2 MB, free: 8.695 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.114, allocations: 28 kB / 363.3 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.753e-05/0.1141, allocations: 32 kB / 363.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.471e-05/0.1142, allocations: 95.59 kB / 363.4 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.1143, allocations: 129.5 kB / 363.5 MB, free: 8.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.1147, allocations: 458.6 kB / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1147, allocations: 0 / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1147, allocations: 0 / 364 MB, free: 7.961 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.1147, allocations: 0 / 364 MB, free: 7.961 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001119/0.1158, allocations: 0.7493 MB / 364.7 MB, free: 7.152 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.1159, allocations: 12.03 kB / 364.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.116, allocations: 83.42 kB / 364.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.768e-05/0.1161, allocations: 59.34 kB / 364.9 MB, free: 6.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004439/0.1165, allocations: 350 kB / 365.2 MB, free: 6.609 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.926e-05/0.1167, allocations: 70.64 kB / 365.3 MB, free: 6.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.1167, allocations: 35.94 kB / 365.3 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.1174, allocations: 466.1 kB / 365.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.1174, allocations: 0 / 365.8 MB, free: 5.992 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.1174, allocations: 16 kB / 365.8 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.1174, allocations: 8 kB / 365.8 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.118, allocations: 295.8 kB / 366.1 MB, free: 5.68 MB / 302.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.001896/0.1199, allocations: 1.292 MB / 367.4 MB, free: 4.293 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.121, allocations: 432.5 kB / 367.8 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.121, allocations: 7.984 kB / 367.8 MB, free: 3.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.121, allocations: 42.55 kB / 367.9 MB, free: 3.781 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.853e-06/0.1211, allocations: 0 / 367.9 MB, free: 3.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001051/0.1221, allocations: 0.6158 MB / 368.5 MB, free: 3.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002284/0.1224, allocations: 448.9 kB / 368.9 MB, free: 2.574 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004363/0.1228, allocations: 417.9 kB / 369.3 MB, free: 2.152 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.1228, allocations: 33.7 kB / 369.3 MB, free: 2.113 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.123, allocations: 240.4 kB / 369.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-05/0.1231, allocations: 114.3 kB / 369.7 MB, free: 1.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.581e-05/0.1231, allocations: 4 kB / 369.7 MB, free: 1.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1232, allocations: 354.8 kB / 370 MB, free: 1.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002134/0.1235, allocations: 108.6 kB / 370.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003329/0.1238, allocations: 260 kB / 370.4 MB, free: 0.9883 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000262/0.1241, allocations: 151.3 kB / 370.6 MB, free: 0.8359 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1241, allocations: 3.938 kB / 370.6 MB, free: 0.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006412/0.1247, allocations: 433 kB / 371 MB, free: 400 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.1248, allocations: 29.7 kB / 371 MB, free: 364 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/0.1248, allocations: 4 kB / 371 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.125, allocations: 57.58 kB / 371.1 MB, free: 296 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002949/0.1253, allocations: 63.91 kB / 371.1 MB, free: 232 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1875/0.3128, allocations: 2.757 MB / 373.9 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.3133, allocations: 49.73 kB / 373.9 MB, free: 17.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.3134, allocations: 13.28 kB / 373.9 MB, free: 17.26 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002348/0.3136, allocations: 173.3 kB / 374.1 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.3137, allocations: 52.19 kB / 374.2 MB, free: 17.14 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.3138, allocations: 50.61 kB / 374.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3138, allocations: 4.25 kB / 374.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3138, allocations: 1.531 kB / 374.2 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006454/0.3145, allocations: 0.6542 MB / 374.9 MB, free: 16.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.3158, allocations: 0.8896 MB / 375.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3158, allocations: 1.641 kB / 375.8 MB, free: 16.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.3161, allocations: 75.69 kB / 375.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3162, allocations: 2.031 kB / 375.8 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.3162, allocations: 7.578 kB / 375.9 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3162, allocations: 1.781 kB / 375.9 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3162, allocations: 0.9688 kB / 375.9 MB, free: 16.26 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008996/0.3171, allocations: 0.5321 MB / 376.4 MB, free: 16.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/0.3173, allocations: 158.4 kB / 376.5 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.081e-05/0.3174, allocations: 8.734 kB / 376.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003104/0.3177, allocations: 24.36 kB / 376.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.3177, allocations: 19.28 kB / 376.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.3178, allocations: 14.12 kB / 376.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003497/0.3181, allocations: 297.8 kB / 376.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3181, allocations: 1.312 kB / 376.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004933/0.3186, allocations: 129.7 kB / 377 MB, free: 15.76 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001021/0.3197, allocations: 1.077 MB / 378.1 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008196/0.3205, allocations: 0.5667 MB / 378.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.3205, allocations: 5.156 kB / 378.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.3207, allocations: 129.6 kB / 378.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.3213, allocations: 117.6 kB / 378.9 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3232, allocations: 1.543 MB / 380.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.3236, allocations: 0.8347 MB / 381.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002506/0.3239, allocations: 51.91 kB / 381.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.3241, allocations: 157.7 kB / 381.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3241, allocations: 1.344 kB / 381.5 MB, free: 12.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.3529, allocations: 10.87 MB / 392.4 MB, free: 9.285 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/0.3532, allocations: 210.8 kB / 392.6 MB, free: 9.051 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.175/2.529, allocations: 4 kB / 392.6 MB, free: 9.047 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat