Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.458/1.458, allocations: 252 MB / 267.3 MB, free: 10.84 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.0009616/0.0009617, allocations: 176 kB / 327 MB, free: 2.094 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.614/1.614, allocations: 205.4 MB / 0.578 GB, free: 20.39 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.0007372/0.0007372, allocations: 89.94 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002999, allocations: 8.969 kB / 0.7971 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1904, allocations: 106.4 MB / 0.9009 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.0414/0.2318, allocations: 59.77 MB / 0.9593 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.2484, allocations: 11.78 MB / 0.9708 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002123/0.2505, allocations: 55.62 kB / 0.9708 GB, free: 7.863 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.2527, allocations: 0.5438 MB / 0.9714 GB, free: 7.316 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.26, allocations: 1.796 MB / 0.9731 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003845/0.2639, allocations: 1.096 MB / 0.9742 GB, free: 4.426 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006001/0.2699, allocations: 3.882 MB / 0.978 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.2721, allocations: 0.9019 MB / 0.9789 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00298/0.2751, allocations: 1.128 MB / 0.98 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.2769, allocations: 0.8593 MB / 0.9808 GB, free: 13.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003561/0.2773, allocations: 40 kB / 0.9808 GB, free: 13.56 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003794/0.2811, allocations: 1.337 MB / 0.9822 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004675/0.2816, allocations: 210.9 kB / 0.9824 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.2832, allocations: 0.6467 MB / 0.983 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005203/0.2884, allocations: 2.22 MB / 0.9852 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.2885, allocations: 4 kB / 0.9852 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2885, allocations: 0 / 0.9852 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.353e-05/0.2886, allocations: 0 / 0.9852 GB, free: 9.125 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.003795/0.2924, allocations: 1.489 MB / 0.9866 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.343e-05/0.2924, allocations: 16.02 kB / 0.9866 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002997/0.2927, allocations: 126.8 kB / 0.9867 GB, free: 7.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.2946, allocations: 387 kB / 0.9871 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.2977, allocations: 1.132 MB / 0.9882 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004043/0.2981, allocations: 133.9 kB / 0.9884 GB, free: 5.73 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002166/0.2983, allocations: 80 kB / 0.9884 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/0.3009, allocations: 0.9683 MB / 0.9894 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.3009, allocations: 8 kB / 0.9894 GB, free: 4.637 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.491e-05/0.301, allocations: 35.88 kB / 0.9894 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.502e-05/0.301, allocations: 20 kB / 0.9894 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.3035, allocations: 0.8587 MB / 0.9903 GB, free: 3.723 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.008084/0.3116, allocations: 4.561 MB / 0.9947 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.3135, allocations: 0.6445 MB / 0.9954 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/0.3142, allocations: 305.9 kB / 0.9956 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001534/0.3157, allocations: 1.4 MB / 0.997 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.3158, allocations: 42.94 kB / 0.9971 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 2.725e-06/0.3158, allocations: 0 / 0.9971 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.006513/0.3223, allocations: 1.76 MB / 0.9988 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.3224, allocations: 55.84 kB / 0.9988 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.3244, allocations: 1.056 MB / 0.9999 GB, free: 9.223 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.587e-05/0.3245, allocations: 37.7 kB / 0.9999 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004802/0.325, allocations: 0.5235 MB / 1 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.3252, allocations: 173.6 kB / 1.001 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.3252, allocations: 12 kB / 1.001 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3253, allocations: 330 kB / 1.001 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008436/0.3262, allocations: 304.9 kB / 1.001 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.3272, allocations: 490.5 kB / 1.002 GB, free: 7.289 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.3288, allocations: 0.673 MB / 1.002 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3288, allocations: 0 / 1.002 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003638/0.3324, allocations: 1.163 MB / 1.003 GB, free: 5.395 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.3326, allocations: 198.2 kB / 1.004 GB, free: 5.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.3326, allocations: 4 kB / 1.004 GB, free: 5.152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.334, allocations: 337.5 kB / 1.004 GB, free: 4.82 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005309/0.3346, allocations: 127.8 kB / 1.004 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.3363, allocations: 0.9409 MB / 1.005 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.3378, allocations: 183.2 kB / 1.005 GB, free: 3.551 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3379, allocations: 31.98 kB / 1.005 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3379, allocations: 4 kB / 1.005 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003332/0.3412, allocations: 1.022 MB / 1.006 GB, free: 2.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3413, allocations: 4 kB / 1.006 GB, free: 2.484 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.3424, allocations: 332.8 kB / 1.007 GB, free: 2.156 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/0.343, allocations: 123.8 kB / 1.007 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001518/0.3445, allocations: 0.9309 MB / 1.008 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.3459, allocations: 163.3 kB / 1.008 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.346, allocations: 27.98 kB / 1.008 GB, free: 0.8906 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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.0006898/0.3467, allocations: 352.9 kB / 1.008 GB, free: 0.5352 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003515/0.347, allocations: 110.7 kB / 1.008 GB, free: 436 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.3504, allocations: 1.139 MB / 1.009 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.3505, allocations: 8 kB / 1.009 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.3505, allocations: 0 / 1.009 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3505, allocations: 7.984 kB / 1.009 GB, free: 15.26 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005857/0.3564, allocations: 2.245 MB / 1.012 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/0.3564, allocations: 4 kB / 1.012 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002682/0.3567, allocations: 63.91 kB / 1.012 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001131/0.3579, allocations: 332.8 kB / 1.012 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/0.3579, allocations: 15.98 kB / 1.012 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.3596, allocations: 0.9659 MB / 1.013 GB, free: 11.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.3596, allocations: 4 kB / 1.013 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004532/0.3642, allocations: 1.255 MB / 1.014 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007568/0.365, allocations: 287.4 kB / 1.014 GB, free: 9.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.3653, allocations: 8 kB / 1.014 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/0.3663, allocations: 103.8 kB / 1.014 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3665, allocations: 43.27 kB / 1.014 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.129e-05/0.3665, allocations: 31.92 kB / 1.015 GB, free: 9.734 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001466/0.368, allocations: 0.7508 MB / 1.015 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.31e-07/0.368, allocations: 0 / 1.015 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002016/0.3701, allocations: 0.5693 MB / 1.016 GB, free: 8.406 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 (38): * Single equations (assignments): 33 * 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.004998/0.3751, allocations: 2.082 MB / 1.018 GB, free: 6.273 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003194/0.3783, allocations: 1.116 MB / 1.019 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.3783, allocations: 0 / 1.019 GB, free: 5.164 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009377/0.3793, allocations: 362.7 kB / 1.019 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003362/0.3826, allocations: 0.5261 MB / 1.02 GB, free: 4.285 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01942/0.4021, allocations: 8.861 MB / 1.028 GB, free: 11 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.4028, allocations: 1.07 MB / 1.029 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001112/0.404, allocations: 228.8 kB / 1.03 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005481/0.4045, allocations: 407.3 kB / 1.03 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of SimCode: time 7.41e-07/0.4045, allocations: 0 / 1.03 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4187/0.8232, allocations: 33.08 MB / 1.062 GB, free: 147.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.8235, allocations: 284.2 kB / 1.063 GB, free: 147.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/4.142, allocations: 0 / 1.063 GB, free: 147.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)