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: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00166/0.00166, allocations: 193.1 kB / 16.91 MB, free: 6.195 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.389/1.389, allocations: 205.1 MB / 222.8 MB, free: 4.684 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.683/1.683, allocations: 292.3 MB / 0.5492 GB, free: 13.59 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.001399/0.001399, allocations: 64.06 kB / 0.6716 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2069, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05192/0.2588, allocations: 60.71 MB / 0.8428 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0146/0.2735, allocations: 11.83 MB / 0.8543 GB, free: 5.133 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.2755, allocations: 55.69 kB / 0.8544 GB, free: 5.078 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.2775, allocations: 0.5828 MB / 0.855 GB, free: 4.492 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004973/0.2825, allocations: 1.808 MB / 0.8567 GB, free: 2.676 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.2855, allocations: 1.123 MB / 0.8578 GB, free: 1.562 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003916/0.2894, allocations: 3.094 MB / 0.8608 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.2909, allocations: 1.092 MB / 0.8619 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002886/0.2938, allocations: 1.344 MB / 0.8632 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.2951, allocations: 0.9295 MB / 0.8641 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.2953, allocations: 119.9 kB / 0.8642 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.2979, allocations: 1.466 MB / 0.8657 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.2982, allocations: 294.9 kB / 0.866 GB, free: 9.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007418/0.2989, allocations: 0.6997 MB / 0.8666 GB, free: 8.477 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.3012, allocations: 1.774 MB / 0.8684 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3012, allocations: 0 / 0.8684 GB, free: 6.699 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.435e-06/0.3012, allocations: 4 kB / 0.8684 GB, free: 6.695 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.3012, allocations: 3.938 kB / 0.8684 GB, free: 6.691 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.002888/0.3041, allocations: 1.726 MB / 0.8701 GB, free: 4.902 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3042, allocations: 8.031 kB / 0.8701 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.3064, allocations: 414.8 kB / 0.8705 GB, free: 4.488 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.3084, allocations: 1.132 MB / 0.8716 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003503/0.3088, allocations: 117.9 kB / 0.8717 GB, free: 3.184 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.3089, allocations: 80 kB / 0.8718 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.3109, allocations: 0.98 MB / 0.8727 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.3109, allocations: 0 / 0.8727 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.679e-05/0.311, allocations: 32 kB / 0.8728 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.311, allocations: 20 kB / 0.8728 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.3132, allocations: 0.8702 MB / 0.8736 GB, free: 1.168 MB / 0.6856 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.00616/0.3194, allocations: 4.571 MB / 0.8781 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003543/0.323, allocations: 0.8359 MB / 0.8789 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007574/0.3238, allocations: 314 kB / 0.8792 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/0.3244, allocations: 0.9029 MB / 0.8801 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.3245, allocations: 46.92 kB / 0.8801 GB, free: 9.977 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.535e-06/0.3245, allocations: 4 kB / 0.8801 GB, free: 9.973 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.0074/0.3319, allocations: 1.799 MB / 0.8819 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.3319, allocations: 59.84 kB / 0.8819 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.3335, allocations: 1.056 MB / 0.883 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.276e-05/0.3336, allocations: 37.7 kB / 0.883 GB, free: 6.961 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003974/0.334, allocations: 0.5197 MB / 0.8835 GB, free: 6.438 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.3341, allocations: 169.6 kB / 0.8837 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.3344, allocations: 138 kB / 0.8838 GB, free: 6.125 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3345, allocations: 325.9 kB / 0.8841 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008853/0.3354, allocations: 318.9 kB / 0.8844 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.3364, allocations: 0.504 MB / 0.8849 GB, free: 4.906 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.3382, allocations: 0.6864 MB / 0.8856 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/0.3382, allocations: 7.875 kB / 0.8856 GB, free: 4.156 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002846/0.341, allocations: 1.011 MB / 0.8866 GB, free: 3.137 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.3411, allocations: 12.06 kB / 0.8866 GB, free: 3.125 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3411, allocations: 7.938 kB / 0.8866 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001319/0.3424, allocations: 312.6 kB / 0.8869 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005865/0.343, allocations: 119.8 kB / 0.887 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001468/0.3445, allocations: 0.9212 MB / 0.8879 GB, free: 1.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.3459, allocations: 171.3 kB / 0.8881 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/0.346, allocations: 31.98 kB / 0.8881 GB, free: 1.547 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001247/0.3472, allocations: 0.5205 MB / 0.8886 GB, free: 1.023 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001076/0.3483, allocations: 0.5033 MB / 0.8891 GB, free: 452 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001698/0.35, allocations: 0.6903 MB / 0.8898 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.795e-06/0.35, allocations: 0 / 0.8898 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002791/0.3528, allocations: 1.007 MB / 0.8908 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3529, allocations: 11.94 kB / 0.8908 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.3529, allocations: 4 kB / 0.8908 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001136/0.354, allocations: 304.9 kB / 0.8911 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.3546, allocations: 127.8 kB / 0.8912 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.3561, allocations: 0.9065 MB / 0.8921 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.3574, allocations: 159.6 kB / 0.8922 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.429e-05/0.3575, allocations: 27.98 kB / 0.8923 GB, free: 13.12 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.0003197/0.3579, allocations: 220 kB / 0.8925 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.3582, allocations: 110.6 kB / 0.8926 GB, free: 12.79 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003029/0.3613, allocations: 0.9909 MB / 0.8935 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.3613, allocations: 12 kB / 0.8936 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.3613, allocations: 0 / 0.8936 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.3613, allocations: 3.984 kB / 0.8936 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006563/0.3679, allocations: 2.356 MB / 0.8959 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.3679, allocations: 0 / 0.8959 GB, free: 9.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003266/0.3683, allocations: 71.89 kB / 0.8959 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.3693, allocations: 304.7 kB / 0.8962 GB, free: 8.957 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.826e-05/0.3694, allocations: 8 kB / 0.8962 GB, free: 8.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.3709, allocations: 0.9563 MB / 0.8972 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3709, allocations: 7.969 kB / 0.8972 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003782/0.3747, allocations: 1.192 MB / 0.8983 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005763/0.3753, allocations: 271.5 kB / 0.8986 GB, free: 6.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.3755, allocations: 12 kB / 0.8986 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.3766, allocations: 99.8 kB / 0.8987 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.3767, allocations: 39.83 kB / 0.8987 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.148e-05/0.3768, allocations: 27.98 kB / 0.8988 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00135/0.3782, allocations: 0.743 MB / 0.8995 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.01e-07/0.3782, allocations: 0 / 0.8995 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001718/0.3799, allocations: 0.5614 MB / 0.9 GB, free: 4.945 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.0009252/0.3808, allocations: 376.8 kB / 0.9004 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003517/0.3844, allocations: 1.174 MB / 0.9015 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.3844, allocations: 0 / 0.9015 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009929/0.3854, allocations: 375.3 kB / 0.9019 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.3881, allocations: 0.5285 MB / 0.9024 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.394, allocations: 2.485 MB / 0.9048 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.3947, allocations: 1.062 MB / 0.9059 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.395, allocations: 83.41 kB / 0.906 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of SimCode: time 6.32e-07/0.395, allocations: 0 / 0.906 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.3873/0.7823, allocations: 24.07 MB / 0.9295 GB, free: 134.3 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (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 & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)