Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008643/0.0008643, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.006139/0.006139, allocations: 173.9 kB / 16.27 MB, free: 6.676 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.433/1.433, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 473.4 MB / 0.7469 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 8.094 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3039, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.08471/0.3886, allocations: 88.24 MB / 1.16 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.03406/0.4227, allocations: 24.3 MB / 1.184 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00402/0.4268, allocations: 99.38 kB / 1.184 GB, free: 6.566 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.4374, allocations: 4.581 MB / 1.189 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.4505, allocations: 3.427 MB / 1.192 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.007926/0.4585, allocations: 2.833 MB / 1.195 GB, free: 11.73 MB / 0.9512 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.003802785495175705}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01596/0.4745, allocations: 11.86 MB / 1.206 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004383/0.4789, allocations: 1.975 MB / 1.208 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006007/0.4849, allocations: 2.263 MB / 1.21 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003923/0.4889, allocations: 2.014 MB / 1.212 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0007147/0.4896, allocations: 124 kB / 1.213 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005643/0.4953, allocations: 2.456 MB / 1.215 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0009772/0.4963, allocations: 0.7743 MB / 1.216 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002253/0.4985, allocations: 1.622 MB / 1.217 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007665/0.5062, allocations: 5.568 MB / 1.223 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.5062, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.056e-06/0.5063, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001481/0.5064, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 387 * Number of variables: 387 Notification: Performance of Generate backend data structure: time 0.006998/0.5134, allocations: 3.38 MB / 1.226 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.5135, allocations: 12.03 kB / 1.226 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004429/0.5179, allocations: 0.8233 MB / 1.227 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007386/0.5253, allocations: 3.398 MB / 1.23 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008806/0.5262, allocations: 342.6 kB / 1.23 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/0.5267, allocations: 183.9 kB / 1.231 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004568/0.5313, allocations: 2.069 MB / 1.233 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.5314, allocations: 4 kB / 1.233 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/0.5316, allocations: 68 kB / 1.233 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.848e-05/0.5317, allocations: 62.84 kB / 1.233 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004739/0.5364, allocations: 1.916 MB / 1.235 GB, free: 2.41 MB / 0.9825 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.01671/0.5532, allocations: 9.824 MB / 1.244 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.556, allocations: 1.215 MB / 1.245 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.5577, allocations: 0.7422 MB / 1.246 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006749/0.5645, allocations: 3.913 MB / 1.25 GB, free: 1.828 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001917/0.5664, allocations: 0.8481 MB / 1.251 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001103/0.5675, allocations: 190.6 kB / 1.251 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=99): time 3.987e-06/0.5676, allocations: 0 / 1.251 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of matching and sorting (n=99): time 0.537/1.105, allocations: 2.137 MB / 1.253 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.105, allocations: 90.55 kB / 1.253 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004762/1.109, allocations: 2.912 MB / 1.256 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003127/1.11, allocations: 58.59 kB / 1.256 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.111, allocations: 1.288 MB / 1.257 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/1.111, allocations: 345 kB / 1.258 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/1.111, allocations: 199.5 kB / 1.258 GB, free: 172.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.771e-05/1.112, allocations: 301.6 kB / 1.258 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/1.114, allocations: 0.9817 MB / 1.259 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/1.116, allocations: 1.511 MB / 1.261 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003412/1.119, allocations: 2.263 MB / 1.263 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/1.119, allocations: 2.656 kB / 1.263 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.005531/1.125, allocations: 2.912 MB / 1.266 GB, free: 168.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002364/1.125, allocations: 0.5997 MB / 1.266 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.125, allocations: 13.69 kB / 1.266 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.638e-05/1.125, allocations: 20 kB / 1.266 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001711/1.127, allocations: 431.5 kB / 1.267 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.642e-05/1.127, allocations: 33.52 kB / 1.267 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003147/1.13, allocations: 389.4 kB / 1.267 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002018/1.13, allocations: 92.44 kB / 1.267 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.946e-06/1.13, allocations: 8.312 kB / 1.267 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005362/1.136, allocations: 2.676 MB / 1.27 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.136, allocations: 12.47 kB / 1.27 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/1.136, allocations: 25.64 kB / 1.27 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/1.137, allocations: 425.3 kB / 1.27 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.598e-05/1.138, allocations: 28.17 kB / 1.27 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003197/1.141, allocations: 374.1 kB / 1.271 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/1.141, allocations: 99.11 kB / 1.271 GB, free: 166.4 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TLoaSet.booPul.y,$PRE.TLoaSet.booPul.y,TSouEnt.booPul.y,$PRE.TSouEnt.booPul.y,pulse.booPul.y,$PRE.pulse.booPul.y,uMod.booPul.y,$PRE.uMod.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (203): * Single equations (assignments): 197 * Array equations: 1 * Algorithm blocks: 4 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001456/1.142, allocations: 0.7445 MB / 1.271 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005809/1.143, allocations: 279.2 kB / 1.272 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/1.147, allocations: 1.918 MB / 1.274 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.9e-05/1.148, allocations: 12.3 kB / 1.274 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.148, allocations: 0 / 1.274 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003052/1.151, allocations: 1.456 MB / 1.275 GB, free: 164.5 MB / 0.9981 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 postOpt removeSimpleEquations (simulation): time 0.008748/1.159, allocations: 4.163 MB / 1.279 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.398e-05/1.159, allocations: 9.5 kB / 1.279 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/1.161, allocations: 243.6 kB / 1.279 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/1.161, allocations: 6.5 kB / 1.279 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.99e-05/1.161, allocations: 30.12 kB / 1.279 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/1.161, allocations: 5.469 kB / 1.279 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.161, allocations: 7 kB / 1.279 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005899/1.167, allocations: 2.699 MB / 1.282 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001715/1.168, allocations: 0.5689 MB / 1.283 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007211/1.169, allocations: 25.95 kB / 1.283 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002423/1.172, allocations: 199.1 kB / 1.283 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002572/1.172, allocations: 82.22 kB / 1.283 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001899/1.172, allocations: 53.09 kB / 1.283 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00493/1.177, allocations: 2.01 MB / 1.285 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.31e-07/1.177, allocations: 1.438 kB / 1.285 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005606/1.183, allocations: 1.483 MB / 1.286 GB, free: 160 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (pum.vol.dynBal.U,pum.filter.s[1],pum.filter.s[2],vol.dynBal.U) * Number of discrete variables: 13 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,reaToInt.y,uMod.booPul.y,pulse.booPul.y,TSouEnt.booPul.y,TLoaSet.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001948/1.185, allocations: 0.7874 MB / 1.287 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00855/1.193, allocations: 3.923 MB / 1.291 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/1.193, allocations: 5.25 kB / 1.291 GB, free: 158.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001952/1.195, allocations: 0.7626 MB / 1.292 GB, free: 157.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008464/1.204, allocations: 1.348 MB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00854/1.212, allocations: 5.885 MB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.213, allocations: 1.829 MB / 1.3 GB, free: 153.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00316/1.217, allocations: 0.7294 MB / 1.301 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006642/1.217, allocations: 225.3 kB / 1.301 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.217, allocations: 0 / 1.301 GB, free: 153.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.07804/1.295, allocations: 59.24 MB / 1.359 GB, free: 98.57 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1)