Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling",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.0008658/0.0008658, allocations: 98.62 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.0007884/0.0007887, allocations: 185.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.436/1.436, allocations: 205.4 MB / 224 MB, free: 13.08 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.00051/0.0005101, allocations: 16 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09252/0.09304, allocations: 47.58 MB / 328.5 MB, free: 3.98 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003252/0.09634, allocations: 2.996 MB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.09781, allocations: 0.8739 MB / 332.3 MB, free: 84 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.09801, allocations: 11.94 kB / 332.3 MB, free: 72 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002462/0.09827, allocations: 71.45 kB / 332.4 MB, free: 0 / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.09865, allocations: 158.7 kB / 332.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002501/0.0989, allocations: 103.8 kB / 332.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005887/0.0995, allocations: 0.5561 MB / 333.2 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.09978, allocations: 166.3 kB / 333.4 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.1, allocations: 207.2 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.1003, allocations: 250.9 kB / 333.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.914e-05/0.1003, allocations: 32 kB / 333.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.431e-05/0.1004, allocations: 36 kB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.1005, allocations: 95.66 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.1006, allocations: 121.5 kB / 334.1 MB, free: 14.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.101, allocations: 474.7 kB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.101, allocations: 3.984 kB / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.101, allocations: 0 / 334.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1011, allocations: 0 / 334.6 MB, free: 13.82 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.00118/0.1022, allocations: 0.7687 MB / 335.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.1023, allocations: 8.031 kB / 335.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.1024, allocations: 75.53 kB / 335.4 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.1026, allocations: 67.25 kB / 335.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.1031, allocations: 378 kB / 335.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.1032, allocations: 62.69 kB / 335.9 MB, free: 12.36 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.1033, allocations: 36 kB / 336 MB, free: 12.32 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006687/0.1039, allocations: 470.1 kB / 336.4 MB, free: 11.81 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.104, allocations: 4 kB / 336.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.104, allocations: 12 kB / 336.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.104, allocations: 8 kB / 336.4 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005425/0.1046, allocations: 291.8 kB / 336.7 MB, free: 11.5 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.001943/0.1065, allocations: 1.312 MB / 338 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.1076, allocations: 440.5 kB / 338.5 MB, free: 9.637 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.1079, allocations: 144.8 kB / 338.6 MB, free: 9.492 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.63e-05/0.1079, allocations: 19.91 kB / 338.6 MB, free: 9.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.108, allocations: 38.56 kB / 338.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 3.397e-06/0.108, allocations: 96 / 338.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001269/0.1093, allocations: 0.614 MB / 339.3 MB, free: 8.762 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002452/0.1095, allocations: 448.9 kB / 339.7 MB, free: 8.219 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005243/0.1101, allocations: 453.9 kB / 340.2 MB, free: 7.762 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.1101, allocations: 33.64 kB / 340.2 MB, free: 7.723 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.1103, allocations: 236.3 kB / 340.4 MB, free: 7.488 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.1104, allocations: 114.4 kB / 340.5 MB, free: 7.375 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.864e-05/0.1105, allocations: 12 kB / 340.5 MB, free: 7.363 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.1106, allocations: 350.8 kB / 340.9 MB, free: 7.012 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.1109, allocations: 108.6 kB / 341 MB, free: 6.902 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.1112, allocations: 264 kB / 341.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.1115, allocations: 159.3 kB / 341.4 MB, free: 6.434 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1115, allocations: 0 / 341.4 MB, free: 6.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000709/0.1122, allocations: 425 kB / 341.8 MB, free: 6 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/0.1123, allocations: 45.64 kB / 341.9 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.413e-06/0.1123, allocations: 0 / 341.9 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.1125, allocations: 41.7 kB / 341.9 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.1128, allocations: 71.89 kB / 342 MB, free: 5.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.115, allocations: 2.748 MB / 344.7 MB, free: 2.816 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.1154, allocations: 51.62 kB / 344.8 MB, free: 2.766 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.1155, allocations: 8 kB / 344.8 MB, free: 2.758 MB / 286.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.0002393/0.1157, allocations: 169.8 kB / 345 MB, free: 2.582 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.038e-05/0.1158, allocations: 51.39 kB / 345 MB, free: 2.531 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.1159, allocations: 52.69 kB / 345.1 MB, free: 2.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.1159, allocations: 4 kB / 345.1 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1159, allocations: 0 / 345.1 MB, free: 2.477 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007769/0.1167, allocations: 0.6532 MB / 345.7 MB, free: 1.719 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.1181, allocations: 0.9082 MB / 346.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1181, allocations: 0 / 346.6 MB, free: 0.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/0.1184, allocations: 75.89 kB / 346.7 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1185, allocations: 4 kB / 346.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.1185, allocations: 4 kB / 346.7 MB, free: 0.668 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1185, allocations: 4 kB / 346.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1185, allocations: 0 / 346.7 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007736/0.1193, allocations: 0.5305 MB / 347.2 MB, free: 120 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.1195, allocations: 164.5 kB / 347.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.828e-05/0.1196, allocations: 8 kB / 347.4 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.1199, allocations: 23.98 kB / 347.4 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.1199, allocations: 19.91 kB / 347.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.1199, allocations: 20.06 kB / 347.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.1203, allocations: 311.1 kB / 347.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1203, allocations: 0 / 347.8 MB, free: 15.56 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004531/0.1208, allocations: 131.8 kB / 347.9 MB, free: 15.43 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.00109/0.1219, allocations: 1.084 MB / 349 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009734/0.1228, allocations: 0.5673 MB / 349.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.1229, allocations: 0 / 349.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.1231, allocations: 131.8 kB / 349.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000757/0.1239, allocations: 134 kB / 349.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004365/0.1283, allocations: 2.731 MB / 352.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.1286, allocations: 0.8159 MB / 353.4 MB, free: 9.824 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002674/0.1289, allocations: 68.33 kB / 353.4 MB, free: 9.754 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.1291, allocations: 163.3 kB / 353.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1292, allocations: 0 / 353.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.1538, allocations: 11.52 MB / 365.1 MB, free: 14.07 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001728/0.154, allocations: 216.3 kB / 365.3 MB, free: 13.83 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.35/2.504, allocations: 0 / 365.3 MB, free: 13.83 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_SimpleCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat does not exist to compare? outputFormat=mat