Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_y",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.0009434/0.0009434, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001207/0.001207, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.834/1.834, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0006093/0.0006095, allocations: 13.34 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2514, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07918/0.3306, allocations: 69.41 MB / 0.8552 GB, free: 6.258 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01839/0.349, allocations: 11.84 MB / 0.8667 GB, free: 10.4 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.3519, allocations: 55.62 kB / 0.8668 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001939/0.3538, allocations: 0.5666 MB / 0.8673 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006019/0.3598, allocations: 1.876 MB / 0.8692 GB, free: 7.891 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.363, allocations: 0.9749 MB / 0.8701 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008141/0.3711, allocations: 4.762 MB / 0.8748 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.3739, allocations: 1.009 MB / 0.8758 GB, free: 1.109 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.3773, allocations: 1.268 MB / 0.877 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00214/0.3795, allocations: 1.066 MB / 0.878 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.3797, allocations: 56 kB / 0.8781 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.3834, allocations: 0.9238 MB / 0.879 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003896/0.3838, allocations: 270.7 kB / 0.8793 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007852/0.3846, allocations: 356.9 kB / 0.8796 GB, free: 13.16 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004044/0.3886, allocations: 2.081 MB / 0.8816 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3887, allocations: 0 / 0.8816 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.196e-06/0.3887, allocations: 0 / 0.8816 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.817e-05/0.3888, allocations: 0 / 0.8816 GB, free: 11.08 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005206/0.394, allocations: 1.795 MB / 0.8834 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.394, allocations: 8.031 kB / 0.8834 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003431/0.3944, allocations: 147.9 kB / 0.8835 GB, free: 9.059 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.3955, allocations: 241.9 kB / 0.8838 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003855/0.3994, allocations: 1.427 MB / 0.8852 GB, free: 7.336 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.3995, allocations: 74 kB / 0.8852 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.3997, allocations: 104 kB / 0.8853 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/0.4027, allocations: 1.112 MB / 0.8864 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.4027, allocations: 3.938 kB / 0.8864 GB, free: 6.012 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.4029, allocations: 47.94 kB / 0.8865 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.4029, allocations: 31.97 kB / 0.8865 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002676/0.4056, allocations: 0.9134 MB / 0.8874 GB, free: 5.023 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.008064/0.4137, allocations: 4.923 MB / 0.8922 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.4157, allocations: 0.6506 MB / 0.8928 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001036/0.4167, allocations: 362.3 kB / 0.8932 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008738/0.4176, allocations: 0.8354 MB / 0.894 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.4177, allocations: 39.12 kB / 0.894 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 3.857e-06/0.4177, allocations: 0 / 0.894 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.009411/0.4271, allocations: 1.881 MB / 0.8959 GB, free: 11.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.4272, allocations: 55.97 kB / 0.8959 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00301/0.4302, allocations: 1.194 MB / 0.8971 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/0.4304, allocations: 41.7 kB / 0.8971 GB, free: 10.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008036/0.4312, allocations: 0.5948 MB / 0.8977 GB, free: 9.895 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003641/0.4316, allocations: 220.9 kB / 0.8979 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.4317, allocations: 12 kB / 0.8979 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.4319, allocations: 337.9 kB / 0.8982 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001057/0.433, allocations: 297.8 kB / 0.8985 GB, free: 9.039 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001343/0.4343, allocations: 0.5005 MB / 0.899 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001122/0.4355, allocations: 355 kB / 0.8994 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.4355, allocations: 4 kB / 0.8994 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006403/0.4419, allocations: 1.394 MB / 0.9007 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.4421, allocations: 198.2 kB / 0.9009 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.4422, allocations: 4 kB / 0.9009 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008735/0.443, allocations: 148.7 kB / 0.9011 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.444, allocations: 163.8 kB / 0.9012 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/0.445, allocations: 0.7045 MB / 0.9019 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.4464, allocations: 167.1 kB / 0.9021 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.4466, allocations: 35.98 kB / 0.9021 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4466, allocations: 10.91 kB / 0.9021 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004155/0.4508, allocations: 1.245 MB / 0.9033 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.4508, allocations: 4 kB / 0.9033 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000511/0.4513, allocations: 149.1 kB / 0.9035 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005964/0.4519, allocations: 167.7 kB / 0.9036 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007924/0.4527, allocations: 0.7045 MB / 0.9043 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/0.4542, allocations: 163.2 kB / 0.9045 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.4543, allocations: 39.94 kB / 0.9045 GB, free: 2.715 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007822/0.4551, allocations: 412.9 kB / 0.9049 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000379/0.4554, allocations: 134.4 kB / 0.905 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004447/0.4599, allocations: 1.396 MB / 0.9064 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.4599, allocations: 8 kB / 0.9064 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.46, allocations: 0 / 0.9064 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003853/0.4638, allocations: 1.232 MB / 0.9076 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007384/0.4712, allocations: 2.731 MB / 0.9103 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.4e-05/0.4713, allocations: 7.953 kB / 0.9103 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005191/0.4718, allocations: 124.3 kB / 0.9104 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/0.4723, allocations: 140.7 kB / 0.9105 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.606e-05/0.4724, allocations: 16 kB / 0.9106 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004552/0.4769, allocations: 2.427 MB / 0.9129 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.912e-06/0.477, allocations: 8.062 kB / 0.9129 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005458/0.4824, allocations: 1.851 MB / 0.9147 GB, free: 7.852 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008603/0.4833, allocations: 331.1 kB / 0.9151 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/0.4837, allocations: 16 kB / 0.9151 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.4848, allocations: 95.88 kB / 0.9152 GB, free: 7.398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.4849, allocations: 56.31 kB / 0.9152 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-05/0.485, allocations: 35.98 kB / 0.9152 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001603/0.4866, allocations: 0.8579 MB / 0.9161 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4867, allocations: 0 / 0.9161 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002271/0.4889, allocations: 0.7096 MB / 0.9168 GB, free: 5.738 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006137/0.4951, allocations: 2.701 MB / 0.9194 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002577/0.4977, allocations: 1.16 MB / 0.9205 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.4977, allocations: 4.188 kB / 0.9206 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.4992, allocations: 0.5992 MB / 0.9211 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/0.5033, allocations: 0.7678 MB / 0.9219 GB, free: 440 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4377/0.9409, allocations: 8.303 MB / 0.93 GB, free: 130.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.9416, allocations: 1.17 MB / 0.9311 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001386/0.943, allocations: 305.2 kB / 0.9314 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006121/0.9436, allocations: 0.4976 MB / 0.9319 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of SimCode: time 9.82e-07/0.9436, allocations: 0 / 0.9319 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07446/1.018, allocations: 42.14 MB / 0.9731 GB, free: 108.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/1.018, allocations: 249.3 kB / 0.9733 GB, free: 108.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.021/4.039, allocations: 0 / 0.9733 GB, free: 108.6 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: