Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001405/0.001405, allocations: 107.4 kB / 16.41 MB, free: 6.457 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.001429/0.001429, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7785/0.7785, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 70.45 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1317, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.4273/0.5591, allocations: 130.9 MB / 0.7882 GB, free: 19.69 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03245/0.5916, allocations: 24.96 MB / 0.8125 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006432/0.5981, allocations: 138 kB / 0.8127 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005396/0.6035, allocations: 1.788 MB / 0.8144 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.6167, allocations: 4.71 MB / 0.819 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.008977/0.6257, allocations: 3.54 MB / 0.8225 GB, free: 80 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0141/0.6398, allocations: 9.056 MB / 0.8313 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006901/0.6467, allocations: 3.215 MB / 0.8344 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01033/0.6571, allocations: 3.539 MB / 0.8379 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005779/0.6629, allocations: 2.475 MB / 0.8403 GB, free: 4.164 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.6646, allocations: 396 kB / 0.8407 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008657/0.6733, allocations: 2.89 MB / 0.8435 GB, free: 0.8828 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.002001/0.6753, allocations: 0.8994 MB / 0.8444 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.005145/0.6805, allocations: 1.995 MB / 0.8463 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01315/0.6937, allocations: 6.383 MB / 0.8526 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.6937, allocations: 8 kB / 0.8526 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6937, allocations: 0 / 0.8526 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001637/0.6939, allocations: 3.938 kB / 0.8526 GB, free: 7.57 MB / 0.6075 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.009589/0.7035, allocations: 4.075 MB / 0.8566 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.7035, allocations: 11.97 kB / 0.8566 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01152/0.7151, allocations: 1.373 MB / 0.8579 GB, free: 2 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006353/0.7215, allocations: 2.999 MB / 0.8609 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.7218, allocations: 255.9 kB / 0.8611 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/0.7222, allocations: 232 kB / 0.8613 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007951/0.7302, allocations: 3.19 MB / 0.8644 GB, free: 11.06 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.927e-05/0.7302, allocations: 15.88 kB / 0.8644 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002852/0.7305, allocations: 104 kB / 0.8645 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.913e-05/0.7306, allocations: 75.98 kB / 0.8646 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009206/0.7398, allocations: 2.831 MB / 0.8674 GB, free: 8.023 MB / 0.6231 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.01998/0.7598, allocations: 13.41 MB / 0.8805 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/0.7643, allocations: 1.493 MB / 0.8819 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003258/0.7676, allocations: 0.9332 MB / 0.8829 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001826/0.7694, allocations: 1.778 MB / 0.8846 GB, free: 5.375 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003801/0.7732, allocations: 1.215 MB / 0.8858 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=130): time 5.52e-06/0.7732, allocations: 0 / 0.8858 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of matching and sorting (n=130): time 0.04078/0.814, allocations: 5.831 MB / 0.8915 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00025/0.8143, allocations: 0.5766 MB / 0.892 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004318/0.8186, allocations: 2.536 MB / 0.8945 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003601/0.819, allocations: 61.7 kB / 0.8946 GB, free: 10.88 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/0.8202, allocations: 1.336 MB / 0.8959 GB, free: 9.527 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/0.8207, allocations: 453.5 kB / 0.8963 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007256/0.8214, allocations: 474.8 kB / 0.8968 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.356e-05/0.8215, allocations: 305.1 kB / 0.897 GB, free: 8.305 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/0.8253, allocations: 1.008 MB / 0.898 GB, free: 7.293 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004408/0.8298, allocations: 1.591 MB / 0.8996 GB, free: 5.469 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007512/0.8373, allocations: 2.276 MB / 0.9018 GB, free: 3.027 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/0.8373, allocations: 8 kB / 0.9018 GB, free: 3.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.0242/0.8615, allocations: 4.108 MB / 0.9058 GB, free: 14.89 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.376e-05/0.8616, allocations: 45.69 kB / 0.9059 GB, free: 14.84 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.8617, allocations: 12 kB / 0.9059 GB, free: 14.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003444/0.8651, allocations: 0.9499 MB / 0.9068 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/0.868, allocations: 499.1 kB / 0.9073 GB, free: 13.39 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003306/0.8713, allocations: 1.985 MB / 0.9092 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004528/0.8759, allocations: 433.4 kB / 0.9096 GB, free: 10.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.8761, allocations: 111.8 kB / 0.9097 GB, free: 10.82 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004926/0.8811, allocations: 1.504 MB / 0.9112 GB, free: 9.312 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004293/0.8854, allocations: 1.564 MB / 0.9127 GB, free: 7.512 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007118/0.8925, allocations: 2.245 MB / 0.9149 GB, free: 5.102 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/0.8925, allocations: 4 kB / 0.9149 GB, free: 5.098 MB / 0.67 GB Notification: Performance of matching and sorting (n=227) (initialization_lambda0): time 0.02411/0.9167, allocations: 4.072 MB / 0.9189 GB, free: 1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.9167, allocations: 37.7 kB / 0.9189 GB, free: 0.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.9168, allocations: 20.17 kB / 0.919 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/0.9201, allocations: 0.9483 MB / 0.9199 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002824/0.923, allocations: 495.1 kB / 0.9204 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003348/0.9263, allocations: 1.99 MB / 0.9223 GB, free: 13.47 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004683/0.931, allocations: 375 kB / 0.9227 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002216/0.9313, allocations: 103.9 kB / 0.9228 GB, free: 13 MB / 0.6856 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.0006069/0.9319, allocations: 305 kB / 0.9231 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006523/0.9325, allocations: 272.7 kB / 0.9233 GB, free: 12.43 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/0.9442, allocations: 2.507 MB / 0.9258 GB, free: 9.902 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01039/0.9546, allocations: 2.138 MB / 0.9279 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.9547, allocations: 0 / 0.9279 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/0.9562, allocations: 0.5833 MB / 0.9284 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004934/0.9567, allocations: 35.92 kB / 0.9285 GB, free: 7.066 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003115/0.9599, allocations: 211.7 kB / 0.9287 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.9601, allocations: 96.8 kB / 0.9288 GB, free: 6.766 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01284/0.9729, allocations: 3.291 MB / 0.932 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01087/0.9838, allocations: 3.769 MB / 0.9356 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003158/0.987, allocations: 0.8938 MB / 0.9365 GB, free: 14.76 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002923/0.9899, allocations: 1.758 MB / 0.9382 GB, free: 13 MB / 0.7012 GB Notification: Performance of Backend: time 5.11e-07/0.9899, allocations: 3.938 kB / 0.9382 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.01332/1.003, allocations: 4.003 MB / 0.9421 GB, free: 8.996 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01084/1.014, allocations: 6.261 MB / 0.9483 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of Templates: time 0.1319/1.146, allocations: 89.3 MB / 1.035 GB, free: 9.883 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)