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.00106/0.00106, allocations: 112.4 kB / 16.42 MB, free: 6.504 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.001081/0.001081, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.279/1.279, 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.002019/0.002019, allocations: 283.6 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.923/0.923, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 95.84 kB / 0.6822 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3755, allocations: 86.97 MB / 0.7671 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5742/0.9497, allocations: 300.4 MB / 1.06 GB, free: 44.89 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04955/0.9992, allocations: 50.04 MB / 1.109 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008202/1.007, allocations: 298.2 kB / 1.11 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.008281/1.016, allocations: 3.427 MB / 1.113 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.02259/1.038, allocations: 9.047 MB / 1.122 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.01582/1.054, allocations: 6.641 MB / 1.128 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.02361/1.078, allocations: 18.49 MB / 1.146 GB, free: 5.414 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009635/1.088, allocations: 5.835 MB / 1.152 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01602/1.104, allocations: 7.549 MB / 1.159 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008403/1.112, allocations: 5.083 MB / 1.164 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.002065/1.114, allocations: 0.5703 MB / 1.165 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/1.125, allocations: 4.379 MB / 1.169 GB, free: 13.87 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002262/1.127, allocations: 1.498 MB / 1.171 GB, free: 12.36 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.006443/1.134, allocations: 3.744 MB / 1.174 GB, free: 8.602 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01694/1.151, allocations: 10.44 MB / 1.184 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/1.151, allocations: 0 / 1.184 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.332e-06/1.151, allocations: 0 / 1.184 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002763/1.151, allocations: 0 / 1.184 GB, free: 14.14 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.01456/1.165, allocations: 7.492 MB / 1.192 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.165, allocations: 8.031 kB / 1.192 GB, free: 6.496 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/1.168, allocations: 0.7881 MB / 1.193 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/1.183, allocations: 5.357 MB / 1.198 GB, free: 276 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002541/1.183, allocations: 320.2 kB / 1.198 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008139/1.184, allocations: 439.8 kB / 1.199 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007648/1.192, allocations: 4.385 MB / 1.203 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.008e-05/1.192, allocations: 15.78 kB / 1.203 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003988/1.192, allocations: 176 kB / 1.203 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/1.192, allocations: 116 kB / 1.203 GB, free: 10.56 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005342/1.198, allocations: 2.961 MB / 1.206 GB, free: 7.594 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.02567/1.223, allocations: 25.13 MB / 1.231 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/1.226, allocations: 2.756 MB / 1.233 GB, free: 9.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.228, allocations: 0.9954 MB / 1.234 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002753/1.231, allocations: 3.908 MB / 1.238 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.339e-05/1.231, allocations: 68.5 kB / 1.238 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=217): time 4.028e-06/1.231, allocations: 0 / 1.238 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=217): time 0.01013/1.241, allocations: 4.068 MB / 1.242 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/1.241, allocations: 77.39 kB / 1.242 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/1.247, allocations: 4.303 MB / 1.246 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0002766/1.248, allocations: 77.7 kB / 1.246 GB, free: 11 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002066/1.25, allocations: 2.775 MB / 1.249 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007402/1.25, allocations: 0.7625 MB / 1.25 GB, free: 7.43 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007891/1.251, allocations: 0.5685 MB / 1.25 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.39e-05/1.251, allocations: 313.1 kB / 1.251 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.253, allocations: 0.8192 MB / 1.251 GB, free: 5.719 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/1.255, allocations: 1.826 MB / 1.253 GB, free: 3.457 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/1.258, allocations: 2.505 MB / 1.256 GB, free: 0.625 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/1.258, allocations: 8 kB / 1.256 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007678/1.266, allocations: 3.563 MB / 1.259 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.266, allocations: 16 kB / 1.259 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/1.266, allocations: 20 kB / 1.259 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/1.269, allocations: 0.5846 MB / 1.26 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/1.27, allocations: 0.5577 MB / 1.26 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/1.272, allocations: 2.678 MB / 1.263 GB, free: 9.016 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003492/1.276, allocations: 333 kB / 1.263 GB, free: 8.688 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002514/1.276, allocations: 136.2 kB / 1.263 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002851/1.279, allocations: 1.574 MB / 1.265 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002083/1.281, allocations: 1.806 MB / 1.267 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003596/1.285, allocations: 2.463 MB / 1.269 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.886e-05/1.285, allocations: 4 kB / 1.269 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006623/1.291, allocations: 3.306 MB / 1.272 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/1.291, allocations: 16 kB / 1.272 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.972e-05/1.291, allocations: 20 kB / 1.272 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009794/1.292, allocations: 367.4 kB / 1.273 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/1.294, allocations: 0.5616 MB / 1.273 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008102/1.302, allocations: 8.445 MB / 1.282 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/1.306, allocations: 295 kB / 1.282 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003058/1.306, allocations: 128 kB / 1.282 GB, free: 4.133 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.0006661/1.307, allocations: 371.8 kB / 1.282 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001488/1.308, allocations: 0.5094 MB / 1.283 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006609/1.315, allocations: 3.577 MB / 1.286 GB, free: 15.61 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003883/1.319, allocations: 2.442 MB / 1.289 GB, free: 13.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.319, allocations: 3.984 kB / 1.289 GB, free: 13.1 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001882/1.321, allocations: 0.8767 MB / 1.29 GB, free: 12.2 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008944/1.322, allocations: 44 kB / 1.29 GB, free: 12.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/1.324, allocations: 127.8 kB / 1.29 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002904/1.325, allocations: 189.7 kB / 1.29 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005525/1.33, allocations: 2.817 MB / 1.293 GB, free: 8.98 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006295/1.337, allocations: 4.092 MB / 1.297 GB, free: 4.828 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001461/1.338, allocations: 1.05 MB / 1.298 GB, free: 3.777 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.004709/1.343, allocations: 2.848 MB / 1.3 GB, free: 0.957 MB / 0.92 GB Notification: Performance of Backend: time 6.41e-07/1.343, allocations: 3.938 kB / 1.3 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.3071/1.65, allocations: 5.207 MB / 1.306 GB, free: 367.7 MB / 0.92 GB Notification: Performance of SimCode: time 0.01721/1.667, allocations: 11.44 MB / 1.317 GB, free: 362.7 MB / 0.92 GB Notification: Performance of Templates: time 0.1342/1.801, allocations: 109.6 MB / 1.424 GB, free: 268.7 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)