Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6901/0.6901, allocations: 128.7 MB / 144.5 MB, free: 1.363 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 193.5 kB / 174.2 MB, free: 5.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.3/1.3, allocations: 205.1 MB / 408.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009339/0.0009338, allocations: 114 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009563/0.0009563, allocations: 59.91 kB / 0.558 GB, free: 97.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09779/0.09876, allocations: 75.47 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.3283/0.4271, allocations: 129.8 MB / 0.7584 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02735/0.4545, allocations: 26.29 MB / 0.7841 GB, free: 28.33 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004411/0.4589, allocations: 132.9 kB / 0.7842 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.004108/0.4631, allocations: 1.441 MB / 0.7856 GB, free: 28.29 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/0.4735, allocations: 4.252 MB / 0.7898 GB, free: 27.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.006896/0.4804, allocations: 2.874 MB / 0.7926 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.01119/0.4916, allocations: 11.54 MB / 0.8038 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/0.495, allocations: 2.542 MB / 0.8063 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004945/0.5, allocations: 2.934 MB / 0.8092 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003546/0.5035, allocations: 2.486 MB / 0.8116 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.00086/0.5044, allocations: 174.6 kB / 0.8118 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006043/0.5105, allocations: 2.494 MB / 0.8142 GB, free: 17.13 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0008994/0.5114, allocations: 0.676 MB / 0.8149 GB, free: 16.63 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.002638/0.514, allocations: 1.778 MB / 0.8166 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.007052/0.5211, allocations: 6.545 MB / 0.823 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.5211, allocations: 0 / 0.823 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5211, allocations: 8 kB / 0.823 GB, free: 8.617 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001021/0.5212, allocations: 0 / 0.823 GB, free: 8.617 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 597 * Number of variables: 597 Notification: Performance of Generate backend data structure: time 0.005723/0.527, allocations: 4.113 MB / 0.827 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.527, allocations: 12.03 kB / 0.827 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009941/0.5369, allocations: 1.382 MB / 0.8284 GB, free: 3.047 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003753/0.5407, allocations: 2.944 MB / 0.8313 GB, free: 96 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.5409, allocations: 260.1 kB / 0.8315 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003548/0.5413, allocations: 238.7 kB / 0.8317 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007928/0.5492, allocations: 3.377 MB / 0.835 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.186e-05/0.5493, allocations: 7.938 kB / 0.835 GB, free: 12 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002448/0.5496, allocations: 108 kB / 0.8352 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.949e-05/0.5496, allocations: 68 kB / 0.8352 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009826/0.5595, allocations: 2.999 MB / 0.8381 GB, free: 8.816 MB / 0.5261 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.01922/0.5787, allocations: 14.09 MB / 0.8519 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004904/0.5836, allocations: 1.565 MB / 0.8534 GB, free: 8.652 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003076/0.5867, allocations: 0.9042 MB / 0.8543 GB, free: 7.75 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001482/0.5882, allocations: 1.459 MB / 0.8557 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004322/0.5926, allocations: 1.261 MB / 0.857 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=124): time 3.827e-06/0.5926, allocations: 3.938 kB / 0.857 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of matching and sorting (n=124): time 0.04247/0.6351, allocations: 6.196 MB / 0.863 GB, free: 14.44 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002449/0.6353, allocations: 0.6345 MB / 0.8636 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004588/0.64, allocations: 2.542 MB / 0.8661 GB, free: 11.1 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0003535/0.6403, allocations: 57.69 kB / 0.8662 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.6418, allocations: 1.404 MB / 0.8676 GB, free: 9.621 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006088/0.6424, allocations: 443.5 kB / 0.868 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009868/0.6434, allocations: 474.9 kB / 0.8684 GB, free: 8.719 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.6435, allocations: 301.1 kB / 0.8687 GB, free: 8.422 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003937/0.6474, allocations: 1.047 MB / 0.8697 GB, free: 7.371 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004396/0.6518, allocations: 1.674 MB / 0.8714 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007418/0.6593, allocations: 2.378 MB / 0.8737 GB, free: 2.863 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.214e-05/0.6593, allocations: 8 kB / 0.8737 GB, free: 2.855 MB / 0.5573 GB Notification: Performance of matching and sorting (n=235) (initialization): time 0.02356/0.6829, allocations: 4.211 MB / 0.8778 GB, free: 14.62 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.6829, allocations: 37.7 kB / 0.8779 GB, free: 14.58 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.683, allocations: 16.16 kB / 0.8779 GB, free: 14.56 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/0.6862, allocations: 0.9182 MB / 0.8788 GB, free: 13.65 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/0.6891, allocations: 0.5069 MB / 0.8793 GB, free: 13.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003282/0.6924, allocations: 1.988 MB / 0.8812 GB, free: 11.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005462/0.6979, allocations: 0.5323 MB / 0.8817 GB, free: 10.57 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004416/0.6984, allocations: 107.9 kB / 0.8818 GB, free: 10.46 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005089/0.7035, allocations: 1.508 MB / 0.8833 GB, free: 8.953 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004335/0.7078, allocations: 1.628 MB / 0.8849 GB, free: 7.062 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007171/0.715, allocations: 2.297 MB / 0.8871 GB, free: 4.57 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.028e-05/0.7151, allocations: 8 kB / 0.8871 GB, free: 4.562 MB / 0.573 GB Notification: Performance of matching and sorting (n=235) (initialization_lambda0): time 0.0233/0.7384, allocations: 4.115 MB / 0.8912 GB, free: 432 kB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.7385, allocations: 45.69 kB / 0.8912 GB, free: 380 kB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.7385, allocations: 12 kB / 0.8912 GB, free: 368 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003215/0.7417, allocations: 0.9173 MB / 0.8921 GB, free: 15.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/0.7445, allocations: 0.4952 MB / 0.8926 GB, free: 14.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003456/0.748, allocations: 1.971 MB / 0.8945 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005154/0.7532, allocations: 478.7 kB / 0.895 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003642/0.7536, allocations: 111.8 kB / 0.8951 GB, free: 12.35 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (194): * Single equations (assignments): 191 * 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.0006009/0.7542, allocations: 295.7 kB / 0.8954 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008429/0.755, allocations: 272.7 kB / 0.8956 GB, free: 11.79 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/0.7659, allocations: 2.253 MB / 0.8978 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.766, allocations: 12 kB / 0.8978 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.766, allocations: 4 kB / 0.8978 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009728/0.7758, allocations: 2.041 MB / 0.8998 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/0.7992, allocations: 7.53 MB / 0.9072 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/0.7992, allocations: 8 kB / 0.9072 GB, free: 15.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/0.8011, allocations: 292.2 kB / 0.9075 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003027/0.8041, allocations: 0.8989 MB / 0.9083 GB, free: 14.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001783/0.8043, allocations: 55.94 kB / 0.9084 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003116/0.8074, allocations: 1.981 MB / 0.9103 GB, free: 12.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/0.8075, allocations: 19.88 kB / 0.9104 GB, free: 12.5 MB / 0.6042 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2323/1.04, allocations: 43.47 MB / 0.9528 GB, free: 92 kB / 0.6355 GB Error: post-optimization module symbolicJacobian (simulation) failed.