Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 110.2 kB / 16.41 MB, free: 6.512 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.001086/0.001086, allocations: 185.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 292.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9365/0.9365, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 95.86 kB / 0.6822 GB, free: 6.926 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.3657, allocations: 86.97 MB / 0.7671 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5941/0.9598, allocations: 300.4 MB / 1.06 GB, free: 44.9 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.05073/1.011, allocations: 50.05 MB / 1.109 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009556/1.02, allocations: 294.2 kB / 1.11 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.009535/1.03, allocations: 3.517 MB / 1.113 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02362/1.053, allocations: 9.497 MB / 1.122 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01568/1.069, allocations: 6.716 MB / 1.129 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.02318/1.092, allocations: 18.53 MB / 1.147 GB, free: 4.789 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009328/1.102, allocations: 5.831 MB / 1.153 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01647/1.118, allocations: 7.57 MB / 1.16 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008079/1.126, allocations: 5.081 MB / 1.165 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.00185/1.128, allocations: 0.5703 MB / 1.166 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01086/1.139, allocations: 4.387 MB / 1.17 GB, free: 13.23 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002175/1.141, allocations: 1.502 MB / 1.171 GB, free: 11.72 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006325/1.147, allocations: 3.74 MB / 1.175 GB, free: 7.961 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01517/1.163, allocations: 10.44 MB / 1.185 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.163, allocations: 0 / 1.185 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.623e-06/1.163, allocations: 4 kB / 1.185 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001249/1.163, allocations: 0 / 1.185 GB, free: 13.49 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01119/1.174, allocations: 7.494 MB / 1.192 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.174, allocations: 8.031 kB / 1.192 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/1.176, allocations: 0.7841 MB / 1.193 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008726/1.185, allocations: 5.353 MB / 1.198 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/1.185, allocations: 320.1 kB / 1.199 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005142/1.185, allocations: 431.9 kB / 1.199 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006695/1.192, allocations: 4.385 MB / 1.203 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.672e-05/1.192, allocations: 19.78 kB / 1.203 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/1.193, allocations: 176 kB / 1.204 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/1.193, allocations: 119.9 kB / 1.204 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004805/1.197, allocations: 2.957 MB / 1.207 GB, free: 6.957 MB / 0.8262 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.02284/1.22, allocations: 25.13 MB / 1.231 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/1.223, allocations: 2.756 MB / 1.234 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/1.225, allocations: 0.9993 MB / 1.235 GB, free: 7.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002719/1.227, allocations: 3.904 MB / 1.239 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/1.227, allocations: 64.56 kB / 1.239 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=217): time 4.449e-06/1.227, allocations: 0 / 1.239 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=217): time 0.009853/1.237, allocations: 4.072 MB / 1.243 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.237, allocations: 77.39 kB / 1.243 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005356/1.243, allocations: 4.295 MB / 1.247 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.243, allocations: 81.7 kB / 1.247 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001952/1.245, allocations: 2.775 MB / 1.25 GB, free: 7.562 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000645/1.246, allocations: 0.7547 MB / 1.251 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007112/1.246, allocations: 0.5802 MB / 1.251 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.331e-05/1.246, allocations: 305.1 kB / 1.251 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/1.248, allocations: 0.8231 MB / 1.252 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002056/1.25, allocations: 1.818 MB / 1.254 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003378/1.253, allocations: 2.509 MB / 1.256 GB, free: 15.99 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.253, allocations: 8 kB / 1.256 GB, free: 15.98 MB / 0.8887 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007362/1.261, allocations: 3.571 MB / 1.26 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/1.261, allocations: 12 kB / 1.26 GB, free: 12.33 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.579e-05/1.261, allocations: 24 kB / 1.26 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/1.263, allocations: 0.5807 MB / 1.26 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/1.265, allocations: 0.5577 MB / 1.261 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001982/1.267, allocations: 2.682 MB / 1.264 GB, free: 8.371 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/1.27, allocations: 329.1 kB / 1.264 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/1.27, allocations: 140 kB / 1.264 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002743/1.273, allocations: 1.566 MB / 1.266 GB, free: 6.34 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001967/1.275, allocations: 1.798 MB / 1.267 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003207/1.278, allocations: 2.463 MB / 1.27 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.418e-06/1.278, allocations: 4 kB / 1.27 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005873/1.284, allocations: 3.309 MB / 1.273 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/1.284, allocations: 12 kB / 1.273 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/1.284, allocations: 24 kB / 1.273 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009266/1.285, allocations: 379.6 kB / 1.273 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/1.287, allocations: 0.55 MB / 1.274 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007536/1.294, allocations: 8.461 MB / 1.282 GB, free: 3.902 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/1.297, allocations: 291 kB / 1.282 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/1.298, allocations: 132 kB / 1.283 GB, free: 3.488 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006025/1.298, allocations: 371.9 kB / 1.283 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008815/1.299, allocations: 0.5055 MB / 1.283 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005932/1.305, allocations: 3.577 MB / 1.287 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003752/1.309, allocations: 2.439 MB / 1.289 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/1.309, allocations: 3.984 kB / 1.289 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/1.31, allocations: 0.8806 MB / 1.29 GB, free: 11.56 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/1.311, allocations: 44 kB / 1.29 GB, free: 11.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.313, allocations: 119.8 kB / 1.29 GB, free: 11.4 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002562/1.313, allocations: 189.6 kB / 1.291 GB, free: 11.21 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00518/1.319, allocations: 2.817 MB / 1.293 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005751/1.324, allocations: 4.096 MB / 1.297 GB, free: 4.191 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001413/1.326, allocations: 1.047 MB / 1.298 GB, free: 3.145 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003894/1.33, allocations: 2.852 MB / 1.301 GB, free: 328 kB / 0.92 GB Notification: Performance of Backend: time 6.21e-07/1.33, allocations: 0 / 1.301 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.3117/1.641, allocations: 5.2 MB / 1.306 GB, free: 368.3 MB / 0.92 GB Notification: Performance of SimCode: time 0.02134/1.663, allocations: 11.45 MB / 1.317 GB, free: 363.3 MB / 0.92 GB Notification: Performance of Templates: time 0.1403/1.803, allocations: 109.6 MB / 1.424 GB, free: 268.6 MB / 0.92 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)