Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.534/1.534, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 184.4 kB / 326.6 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 0.5777 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008403/0.0008403, allocations: 95.03 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 14.45 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2358, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.03947/0.2753, allocations: 56.51 MB / 0.9555 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01467/0.2901, allocations: 11.08 MB / 0.9663 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.2923, allocations: 55.62 kB / 0.9664 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.2941, allocations: 472.8 kB / 0.9668 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005509/0.2997, allocations: 1.511 MB / 0.9683 GB, free: 9.984 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/0.3028, allocations: 0.8719 MB / 0.9691 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005004/0.3078, allocations: 3.382 MB / 0.9724 GB, free: 5.723 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.3092, allocations: 0.7859 MB / 0.9732 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.3116, allocations: 1.042 MB / 0.9742 GB, free: 3.863 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.313, allocations: 0.8127 MB / 0.975 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.3131, allocations: 44 kB / 0.9751 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.3157, allocations: 1.088 MB / 0.9761 GB, free: 1.914 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.316, allocations: 199 kB / 0.9763 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000441/0.3164, allocations: 285 kB / 0.9766 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002359/0.3188, allocations: 1.629 MB / 0.9782 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/0.3188, allocations: 4 kB / 0.9782 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3188, allocations: 0 / 0.9782 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.3188, allocations: 0 / 0.9782 GB, free: 15.8 MB / 0.6355 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.002983/0.3218, allocations: 1.504 MB / 0.9797 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3219, allocations: 8.031 kB / 0.9797 GB, free: 14.23 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.3221, allocations: 126.7 kB / 0.9798 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/0.3244, allocations: 477.9 kB / 0.9802 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3266, allocations: 1.086 MB / 0.9813 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003667/0.327, allocations: 125.9 kB / 0.9814 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.3271, allocations: 84 kB / 0.9815 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.3295, allocations: 1.003 MB / 0.9825 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.3295, allocations: 0 / 0.9825 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.237e-05/0.3296, allocations: 32 kB / 0.9825 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.3296, allocations: 23.94 kB / 0.9825 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002537/0.3322, allocations: 0.9133 MB / 0.9834 GB, free: 10.27 MB / 0.6355 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.007332/0.3395, allocations: 4.639 MB / 0.988 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/0.3433, allocations: 0.9422 MB / 0.9889 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008017/0.3441, allocations: 336.6 kB / 0.9892 GB, free: 4.027 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006849/0.3448, allocations: 0.899 MB / 0.9901 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.3448, allocations: 42.98 kB / 0.9901 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 2.324e-06/0.3448, allocations: 0 / 0.9901 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007833/0.3527, allocations: 1.99 MB / 0.9921 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.3528, allocations: 55.84 kB / 0.9921 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.3545, allocations: 1.056 MB / 0.9931 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.3546, allocations: 41.7 kB / 0.9932 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/0.3551, allocations: 0.5274 MB / 0.9937 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.3553, allocations: 153.8 kB / 0.9938 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.3553, allocations: 12 kB / 0.9939 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.3555, allocations: 330 kB / 0.9942 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009852/0.3565, allocations: 332.9 kB / 0.9945 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.3576, allocations: 0.5235 MB / 0.995 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3586, allocations: 380.6 kB / 0.9954 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3587, allocations: 0 / 0.9954 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003948/0.3626, allocations: 1.221 MB / 0.9966 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/0.3628, allocations: 205.2 kB / 0.9967 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.3628, allocations: 4 kB / 0.9968 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.3642, allocations: 330.6 kB / 0.9971 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006089/0.3648, allocations: 135.8 kB / 0.9972 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.3664, allocations: 0.9425 MB / 0.9981 GB, free: 10.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.3679, allocations: 195.2 kB / 0.9983 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-05/0.368, allocations: 27.98 kB / 0.9983 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.368, allocations: 4 kB / 0.9983 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003529/0.3715, allocations: 1.096 MB / 0.9994 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3716, allocations: 4 kB / 0.9994 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.3728, allocations: 322.4 kB / 0.9997 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006645/0.3735, allocations: 135.8 kB / 0.9998 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.3752, allocations: 0.9332 MB / 1.001 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.3769, allocations: 175.2 kB / 1.001 GB, free: 7.527 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.25e-05/0.377, allocations: 31.94 kB / 1.001 GB, free: 7.496 MB / 0.6511 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 (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: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008585/0.3779, allocations: 353 kB / 1.001 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003516/0.3782, allocations: 110.6 kB / 1.001 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.3811, allocations: 1.042 MB / 1.002 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/0.3811, allocations: 7.984 kB / 1.002 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3811, allocations: 0 / 1.002 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3812, allocations: 0 / 1.002 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006856/0.388, allocations: 2.473 MB / 1.005 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.3881, allocations: 4 kB / 1.005 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.3884, allocations: 80.14 kB / 1.005 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.3896, allocations: 320.6 kB / 1.005 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/0.3896, allocations: 15.94 kB / 1.005 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001643/0.3913, allocations: 0.9698 MB / 1.006 GB, free: 2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.3913, allocations: 4.031 kB / 1.006 GB, free: 1.996 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00404/0.3953, allocations: 1.29 MB / 1.007 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007488/0.3961, allocations: 291.4 kB / 1.008 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.3964, allocations: 8 kB / 1.008 GB, free: 352 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.3976, allocations: 119.7 kB / 1.008 GB, free: 232 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.3977, allocations: 31.95 kB / 1.008 GB, free: 200 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.606e-05/0.3978, allocations: 27.97 kB / 1.008 GB, free: 172 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00154/0.3993, allocations: 0.743 MB / 1.009 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3993, allocations: 0 / 1.009 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002166/0.4015, allocations: 0.5498 MB / 1.009 GB, free: 14.87 MB / 0.6667 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 (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: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.005118/0.4066, allocations: 2.089 MB / 1.011 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003501/0.4102, allocations: 1.206 MB / 1.012 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.4102, allocations: 4.062 kB / 1.012 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009926/0.4112, allocations: 386.8 kB / 1.013 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.4144, allocations: 0.5371 MB / 1.013 GB, free: 10.61 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0185/0.4329, allocations: 6.935 MB / 1.02 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/0.4338, allocations: 1.066 MB / 1.021 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001371/0.4352, allocations: 220.8 kB / 1.021 GB, free: 2.043 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006584/0.4359, allocations: 415.3 kB / 1.022 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of SimCode: time 2.906e-06/0.4359, allocations: 0 / 1.022 GB, free: 1.637 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06348/0.4994, allocations: 33.8 MB / 1.055 GB, free: 220 kB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.5127/1.012, allocations: 259.6 kB / 1.055 GB, free: 158.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.174/4.187, allocations: 2.375 kB / 1.055 GB, free: 158.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)