Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) 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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_TEva",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.0008279/0.0008279, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004867/0.004867, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.203/1.203, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.464/1.464, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.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.0004412/0.0004413, allocations: 17.75 kB / 0.6744 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1617, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04861/0.2104, allocations: 59.76 MB / 0.8463 GB, free: 15.5 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01289/0.2233, allocations: 11.83 MB / 0.8579 GB, free: 3.633 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007226/0.224, allocations: 51.62 kB / 0.858 GB, free: 3.582 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.2251, allocations: 0.5438 MB / 0.8585 GB, free: 3.035 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002958/0.2281, allocations: 1.789 MB / 0.8602 GB, free: 1.238 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.23, allocations: 1.093 MB / 0.8613 GB, free: 160 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003086/0.233, allocations: 3.894 MB / 0.8651 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009696/0.234, allocations: 0.8941 MB / 0.866 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.2355, allocations: 1.131 MB / 0.8671 GB, free: 10.19 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008596/0.2364, allocations: 0.8476 MB / 0.8679 GB, free: 9.336 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.2365, allocations: 44 kB / 0.8679 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/0.2383, allocations: 1.345 MB / 0.8693 GB, free: 7.945 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.2385, allocations: 218.9 kB / 0.8695 GB, free: 7.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004927/0.239, allocations: 0.6351 MB / 0.8701 GB, free: 7.086 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001964/0.2409, allocations: 2.204 MB / 0.8722 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2409, allocations: 0 / 0.8722 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.342e-06/0.241, allocations: 0 / 0.8722 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.241, allocations: 0 / 0.8722 GB, free: 4.875 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00243/0.2434, allocations: 1.501 MB / 0.8737 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2434, allocations: 8.031 kB / 0.8737 GB, free: 3.309 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.2436, allocations: 118.9 kB / 0.8738 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.2456, allocations: 478.6 kB / 0.8743 GB, free: 2.715 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.2473, allocations: 1.128 MB / 0.8754 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/0.2476, allocations: 129.9 kB / 0.8755 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.2477, allocations: 80 kB / 0.8756 GB, free: 1.324 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.2496, allocations: 1.007 MB / 0.8766 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.2496, allocations: 0 / 0.8766 GB, free: 284 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-05/0.2497, allocations: 32 kB / 0.8766 GB, free: 252 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.2497, allocations: 20 kB / 0.8766 GB, free: 232 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.2518, allocations: 0.9289 MB / 0.8775 GB, free: 15.3 MB / 0.7012 GB 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.005226/0.2571, allocations: 4.622 MB / 0.882 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/0.2604, allocations: 0.9422 MB / 0.883 GB, free: 9.418 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/0.2611, allocations: 334 kB / 0.8833 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005311/0.2617, allocations: 0.9107 MB / 0.8842 GB, free: 7.973 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.2617, allocations: 39 kB / 0.8842 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 1.313e-06/0.2617, allocations: 0 / 0.8842 GB, free: 7.926 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.006805/0.2685, allocations: 1.998 MB / 0.8862 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.2685, allocations: 55.84 kB / 0.8862 GB, free: 5.832 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.2698, allocations: 1.063 MB / 0.8872 GB, free: 4.754 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.393e-05/0.2699, allocations: 37.7 kB / 0.8873 GB, free: 4.711 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003621/0.2702, allocations: 0.5235 MB / 0.8878 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.2703, allocations: 161.7 kB / 0.888 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.2704, allocations: 53.69 kB / 0.888 GB, free: 3.965 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.2705, allocations: 333.8 kB / 0.8883 GB, free: 3.633 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008637/0.2714, allocations: 336.8 kB / 0.8886 GB, free: 3.301 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009974/0.2724, allocations: 0.5392 MB / 0.8892 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.274, allocations: 0.7371 MB / 0.8899 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.274, allocations: 4 kB / 0.8899 GB, free: 1.887 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002466/0.2765, allocations: 1.073 MB / 0.8909 GB, free: 0.8047 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.543e-05/0.2766, allocations: 197.3 kB / 0.8911 GB, free: 0.5586 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.2766, allocations: 4 kB / 0.8911 GB, free: 0.5547 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.2777, allocations: 352.4 kB / 0.8915 GB, free: 212 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.2783, allocations: 127.8 kB / 0.8916 GB, free: 84 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001355/0.2796, allocations: 0.9457 MB / 0.8925 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.2807, allocations: 187.2 kB / 0.8927 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.2808, allocations: 39.97 kB / 0.8927 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-06/0.2808, allocations: 7.125 kB / 0.8927 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002339/0.2831, allocations: 0.936 MB / 0.8937 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.2832, allocations: 7.938 kB / 0.8937 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009853/0.2841, allocations: 324.9 kB / 0.894 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.2847, allocations: 135.8 kB / 0.8941 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/0.286, allocations: 0.9309 MB / 0.895 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009305/0.2869, allocations: 175.3 kB / 0.8952 GB, free: 12.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.287, allocations: 31.98 kB / 0.8952 GB, free: 12.32 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000351/0.2873, allocations: 356.9 kB / 0.8955 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.2875, allocations: 110.6 kB / 0.8956 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.2898, allocations: 1.042 MB / 0.8967 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.2898, allocations: 7.984 kB / 0.8967 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.2898, allocations: 0 / 0.8967 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2898, allocations: 3.938 kB / 0.8967 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/0.2953, allocations: 2.473 MB / 0.8991 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.2953, allocations: 4 kB / 0.8991 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.2956, allocations: 80.16 kB / 0.8992 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009168/0.2965, allocations: 320.5 kB / 0.8995 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.2965, allocations: 15.98 kB / 0.8995 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.2979, allocations: 0.9798 MB / 0.9005 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2979, allocations: 0 / 0.9005 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003437/0.3013, allocations: 1.305 MB / 0.9017 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.3017, allocations: 283.4 kB / 0.902 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.3018, allocations: 16 kB / 0.902 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/0.3026, allocations: 107.9 kB / 0.9021 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.3027, allocations: 39.83 kB / 0.9022 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.3027, allocations: 23.98 kB / 0.9022 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009407/0.3037, allocations: 0.7508 MB / 0.9029 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3037, allocations: 0 / 0.9029 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001412/0.3051, allocations: 0.5652 MB / 0.9035 GB, free: 3.652 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004244/0.3094, allocations: 2.107 MB / 0.9055 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002882/0.3123, allocations: 1.217 MB / 0.9067 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3123, allocations: 0 / 0.9067 GB, free: 284 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008658/0.3132, allocations: 391.3 kB / 0.9071 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.3156, allocations: 0.5235 MB / 0.9076 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/0.334, allocations: 9.665 MB / 0.917 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.3345, allocations: 1.07 MB / 0.9181 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000774/0.3353, allocations: 236.7 kB / 0.9183 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/0.3358, allocations: 407.3 kB / 0.9187 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of SimCode: time 3.31e-07/0.3358, allocations: 0 / 0.9187 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5537/0.8895, allocations: 32.7 MB / 0.9506 GB, free: 123.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001765/0.8897, allocations: 264.5 kB / 0.9509 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.632/3.521, allocations: 1.594 kB / 0.9509 GB, free: 123.4 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)