Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QCon_flow|heaPum1.QCon_flow|capErr.y",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108 kB / 16.41 MB, free: 6.473 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.0014/0.0014, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.428/2.428, allocations: 437.1 MB / 0.7112 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 63.91 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7272/0.7294, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.126/0.8555, allocations: 130.9 MB / 1.295 GB, free: 464 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.03401/0.8895, allocations: 25.02 MB / 1.32 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004573/0.8941, allocations: 135.2 kB / 1.32 GB, free: 7.242 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004804/0.899, allocations: 1.786 MB / 1.321 GB, free: 5.445 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.9112, allocations: 4.722 MB / 1.326 GB, free: 0.707 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.008758/0.92, allocations: 3.529 MB / 1.33 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01156/0.9316, allocations: 9.063 MB / 1.338 GB, free: 4.117 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005354/0.9369, allocations: 3.207 MB / 1.342 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008618/0.9456, allocations: 3.533 MB / 1.345 GB, free: 13.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004887/0.9505, allocations: 2.482 MB / 1.347 GB, free: 10.82 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.9518, allocations: 392 kB / 1.348 GB, free: 10.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007207/0.959, allocations: 2.9 MB / 1.351 GB, free: 7.531 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001468/0.9605, allocations: 0.8877 MB / 1.351 GB, free: 6.641 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003688/0.9642, allocations: 1.995 MB / 1.353 GB, free: 4.637 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0121/0.9763, allocations: 6.39 MB / 1.36 GB, free: 14.23 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.9764, allocations: 3.984 kB / 1.36 GB, free: 14.22 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.056e-06/0.9764, allocations: 8 kB / 1.36 GB, free: 14.21 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001707/0.9765, allocations: 3.938 kB / 1.36 GB, free: 14.21 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.0106/0.9872, allocations: 4.19 MB / 1.364 GB, free: 9.914 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 6.005e-05/0.9872, allocations: 8.625 kB / 1.364 GB, free: 9.906 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.999, allocations: 1.395 MB / 1.365 GB, free: 8.508 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005927/1.005, allocations: 3.017 MB / 1.368 GB, free: 5.418 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003042/1.005, allocations: 255.9 kB / 1.368 GB, free: 5.152 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006227/1.006, allocations: 244 kB / 1.369 GB, free: 4.914 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008699/1.015, allocations: 3.186 MB / 1.372 GB, free: 1.547 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.208e-05/1.015, allocations: 7.938 kB / 1.372 GB, free: 1.539 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004127/1.015, allocations: 111.9 kB / 1.372 GB, free: 1.43 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.277e-05/1.015, allocations: 67.92 kB / 1.372 GB, free: 1.363 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009921/1.025, allocations: 2.835 MB / 1.375 GB, free: 14.51 MB / 1.107 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.02202/1.047, allocations: 13.43 MB / 1.388 GB, free: 476 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/1.052, allocations: 1.503 MB / 1.389 GB, free: 14.96 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/1.055, allocations: 0.9332 MB / 1.39 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/1.057, allocations: 1.782 MB / 1.392 GB, free: 11.86 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004093/1.061, allocations: 1.216 MB / 1.393 GB, free: 10.57 MB / 1.123 GB Notification: Performance of pre-optimization done (n=130): time 5.81e-06/1.061, allocations: 0 / 1.393 GB, free: 10.57 MB / 1.123 GB Notification: Performance of matching and sorting (n=130): time 0.04321/1.105, allocations: 5.84 MB / 1.399 GB, free: 4.68 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002409/1.105, allocations: 0.5727 MB / 1.399 GB, free: 3.973 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/1.11, allocations: 2.548 MB / 1.402 GB, free: 1.406 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003477/1.111, allocations: 61.69 kB / 1.402 GB, free: 1.34 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/1.112, allocations: 1.361 MB / 1.403 GB, free: 15.96 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005937/1.113, allocations: 475.9 kB / 1.404 GB, free: 15.5 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/1.114, allocations: 471.1 kB / 1.404 GB, free: 15.03 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 8.783e-05/1.114, allocations: 304.9 kB / 1.404 GB, free: 14.73 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004103/1.118, allocations: 1.016 MB / 1.405 GB, free: 13.71 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/1.123, allocations: 1.587 MB / 1.407 GB, free: 11.89 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007777/1.13, allocations: 2.269 MB / 1.409 GB, free: 9.453 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/1.13, allocations: 4 kB / 1.409 GB, free: 9.449 MB / 1.139 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02518/1.156, allocations: 4.121 MB / 1.413 GB, free: 5.305 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/1.156, allocations: 45.75 kB / 1.413 GB, free: 5.254 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/1.156, allocations: 12 kB / 1.413 GB, free: 5.242 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/1.159, allocations: 0.9534 MB / 1.414 GB, free: 4.289 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002998/1.162, allocations: 495.1 kB / 1.415 GB, free: 3.805 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/1.166, allocations: 1.989 MB / 1.417 GB, free: 1.766 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005107/1.171, allocations: 434.1 kB / 1.417 GB, free: 1.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004332/1.172, allocations: 107.9 kB / 1.417 GB, free: 1.234 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005371/1.177, allocations: 1.507 MB / 1.419 GB, free: 15.72 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004696/1.182, allocations: 1.571 MB / 1.42 GB, free: 13.92 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007692/1.19, allocations: 2.241 MB / 1.422 GB, free: 11.51 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.079e-05/1.19, allocations: 7.938 kB / 1.422 GB, free: 11.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02497/1.215, allocations: 4.086 MB / 1.426 GB, free: 7.395 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/1.215, allocations: 41.69 kB / 1.426 GB, free: 7.348 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.215, allocations: 12 kB / 1.426 GB, free: 7.336 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/1.218, allocations: 0.951 MB / 1.427 GB, free: 6.387 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002922/1.221, allocations: 487.2 kB / 1.428 GB, free: 5.91 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003481/1.225, allocations: 1.989 MB / 1.43 GB, free: 3.871 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/1.229, allocations: 379.4 kB / 1.43 GB, free: 3.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/1.23, allocations: 107.9 kB / 1.43 GB, free: 3.395 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006624/1.231, allocations: 307.7 kB / 1.43 GB, free: 3.086 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009498/1.231, allocations: 290.2 kB / 1.431 GB, free: 2.801 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/1.244, allocations: 2.509 MB / 1.433 GB, free: 272 kB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01094/1.255, allocations: 2.134 MB / 1.435 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/1.255, allocations: 0 / 1.435 GB, free: 14.07 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.256, allocations: 0.5926 MB / 1.436 GB, free: 13.46 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008211/1.257, allocations: 32.19 kB / 1.436 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00357/1.261, allocations: 223.6 kB / 1.436 GB, free: 13.21 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002601/1.261, allocations: 96.84 kB / 1.436 GB, free: 13.11 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01384/1.275, allocations: 3.294 MB / 1.439 GB, free: 9.805 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01149/1.286, allocations: 3.79 MB / 1.443 GB, free: 5.988 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003308/1.29, allocations: 0.886 MB / 1.444 GB, free: 5.102 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.003604/1.293, allocations: 1.766 MB / 1.446 GB, free: 3.332 MB / 1.17 GB Notification: Performance of Backend: time 3.71e-07/1.293, allocations: 0 / 1.446 GB, free: 3.332 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01549/1.309, allocations: 4.016 MB / 1.45 GB, free: 15.3 MB / 1.186 GB Notification: Performance of SimCode: time 0.01402/1.323, allocations: 6.361 MB / 1.456 GB, free: 8.906 MB / 1.186 GB Notification: Performance of Templates: time 0.1354/1.458, allocations: 89.33 MB / 1.543 GB, free: 116 kB / 1.264 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)