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.0008857/0.0008857, allocations: 101.3 kB / 17.01 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001047, allocations: 198.2 kB / 17.91 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 227.3 MB / 246 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002175/0.0002176, allocations: 8 kB / 306.8 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09792, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003137/0.1011, allocations: 3.008 MB / 361.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1023, allocations: 0.8766 MB / 362.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1025, allocations: 8 kB / 362.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1027, allocations: 75.45 kB / 362.3 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003014/0.103, allocations: 158.7 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.1032, allocations: 87.91 kB / 362.5 MB, free: 9.547 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.1038, allocations: 0.5714 MB / 363.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002257/0.104, allocations: 147.7 kB / 363.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.1042, allocations: 211.2 kB / 363.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.1045, allocations: 251 kB / 363.7 MB, free: 8.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.164e-05/0.1046, allocations: 36 kB / 363.7 MB, free: 8.332 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.792e-05/0.1046, allocations: 36 kB / 363.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.78e-05/0.1047, allocations: 91.59 kB / 363.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1048, allocations: 129.5 kB / 364 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.1052, allocations: 486.5 kB / 364.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1052, allocations: 0 / 364.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1052, allocations: 0 / 364.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.1053, allocations: 0 / 364.4 MB, free: 7.598 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.001139/0.1064, allocations: 0.757 MB / 365.2 MB, free: 6.781 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.1064, allocations: 12.03 kB / 365.2 MB, free: 6.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.1066, allocations: 83.44 kB / 365.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.1067, allocations: 59.34 kB / 365.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.1071, allocations: 378 kB / 365.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/0.1072, allocations: 66.64 kB / 365.8 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.1073, allocations: 31.94 kB / 365.8 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006737/0.108, allocations: 474.1 kB / 366.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.108, allocations: 0 / 366.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.627e-05/0.108, allocations: 20 kB / 366.3 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.108, allocations: 8 kB / 366.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.1086, allocations: 283.8 kB / 366.6 MB, free: 5.289 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.00182/0.1104, allocations: 1.316 MB / 367.9 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009905/0.1114, allocations: 443.2 kB / 368.3 MB, free: 3.418 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.1116, allocations: 140.8 kB / 368.5 MB, free: 3.277 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.1117, allocations: 8 kB / 368.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.1117, allocations: 38.56 kB / 368.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 2.074e-06/0.1117, allocations: 0 / 368.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001045/0.1128, allocations: 0.6231 MB / 369.1 MB, free: 2.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.113, allocations: 448.9 kB / 369.6 MB, free: 2.008 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.1134, allocations: 445.9 kB / 370 MB, free: 1.559 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.1134, allocations: 33.7 kB / 370 MB, free: 1.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.1136, allocations: 236.4 kB / 370.3 MB, free: 1.285 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.417e-05/0.1137, allocations: 114.3 kB / 370.4 MB, free: 1.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.734e-05/0.1137, allocations: 12 kB / 370.4 MB, free: 1.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1138, allocations: 358.8 kB / 370.7 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.1141, allocations: 108.5 kB / 370.9 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/0.1144, allocations: 256 kB / 371.1 MB, free: 400 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002594/0.1147, allocations: 159.3 kB / 371.3 MB, free: 236 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.1147, allocations: 0 / 371.3 MB, free: 236 kB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.1851/0.2998, allocations: 420.4 kB / 371.7 MB, free: 19.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/0.2998, allocations: 32.72 kB / 371.7 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2998, allocations: 1.312 kB / 371.7 MB, free: 19.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.3, allocations: 54.61 kB / 371.8 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.3004, allocations: 70.95 kB / 371.8 MB, free: 19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.3022, allocations: 2.744 MB / 374.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000448/0.3026, allocations: 50.44 kB / 374.6 MB, free: 16.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.806e-05/0.3027, allocations: 8.938 kB / 374.6 MB, free: 16.5 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.0002049/0.3029, allocations: 169.8 kB / 374.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.343e-05/0.303, allocations: 51.53 kB / 374.8 MB, free: 16.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.361e-05/0.3031, allocations: 58.8 kB / 374.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3031, allocations: 3.25 kB / 374.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3031, allocations: 1.688 kB / 374.9 MB, free: 16.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006031/0.3037, allocations: 0.6556 MB / 375.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.3052, allocations: 0.9107 MB / 376.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3052, allocations: 3.422 kB / 376.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.3055, allocations: 71.28 kB / 376.5 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3055, allocations: 5 kB / 376.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.3056, allocations: 8.219 kB / 376.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3056, allocations: 1.812 kB / 376.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3056, allocations: 0.5625 kB / 376.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008815/0.3065, allocations: 0.5188 MB / 377.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.3067, allocations: 166.6 kB / 377.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.574e-05/0.3067, allocations: 15.12 kB / 377.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.307, allocations: 19.55 kB / 377.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/0.3071, allocations: 18.25 kB / 377.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/0.3071, allocations: 10.55 kB / 377.3 MB, free: 15.22 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004186/0.3075, allocations: 319.5 kB / 377.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3075, allocations: 0 / 377.6 MB, free: 15.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005104/0.3081, allocations: 130.8 kB / 377.7 MB, free: 15.14 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.001034/0.3091, allocations: 1.087 MB / 378.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008407/0.3099, allocations: 0.5677 MB / 379.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.31, allocations: 1.375 kB / 379.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.3102, allocations: 130.3 kB / 379.5 MB, free: 13.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006594/0.3109, allocations: 132.4 kB / 379.7 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.3151, allocations: 2.722 MB / 382.4 MB, free: 12.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3154, allocations: 0.8267 MB / 383.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003063/0.3157, allocations: 56.67 kB / 383.3 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002636/0.316, allocations: 161.9 kB / 383.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.316, allocations: 0 / 383.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02927/0.3453, allocations: 11.54 MB / 395 MB, free: 7.91 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.3455, allocations: 214.6 kB / 395.2 MB, free: 7.676 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.114/2.459, allocations: 7.938 kB / 395.2 MB, free: 7.668 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