Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.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.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics") translateModel(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 107.5 kB / 16.41 MB, free: 6.512 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.001307/0.001307, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.28/1.28, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002065/0.002065, allocations: 292.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9233/0.9233, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001827/0.001827, allocations: 99.83 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3966, allocations: 86.98 MB / 0.767 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.09717/0.4938, allocations: 112.1 MB / 0.8765 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03859/0.5324, allocations: 32.05 MB / 0.9078 GB, free: 3.328 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0046/0.537, allocations: 155.1 kB / 0.9079 GB, free: 3.176 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004491/0.5416, allocations: 1.801 MB / 0.9097 GB, free: 1.363 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0113/0.5529, allocations: 4.604 MB / 0.9142 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008002/0.5609, allocations: 3.585 MB / 0.9177 GB, free: 9.164 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.7271/1.288, allocations: 47.73 MB / 0.9643 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02679/1.315, allocations: 23.79 MB / 0.9875 GB, free: 22.99 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02598/1.341, allocations: 16.36 MB / 1.004 GB, free: 21.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02041/1.361, allocations: 14.04 MB / 1.017 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00678/1.368, allocations: 2.436 MB / 1.02 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01613/1.384, allocations: 4.738 MB / 1.024 GB, free: 19.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.008798/1.393, allocations: 5.496 MB / 1.03 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0193/1.412, allocations: 11.1 MB / 1.04 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03872/1.451, allocations: 34.62 MB / 1.074 GB, free: 5.566 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.451, allocations: 0 / 1.074 GB, free: 5.566 MB / 0.7482 GB Notification: Performance of FrontEnd: time 2.034e-06/1.451, allocations: 0 / 1.074 GB, free: 5.566 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.0009133/1.452, allocations: 0 / 1.074 GB, free: 5.566 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.05548/1.508, allocations: 19.86 MB / 1.094 GB, free: 1.824 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.508, allocations: 8.031 kB / 1.094 GB, free: 1.816 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/1.519, allocations: 1.976 MB / 1.096 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0339/1.553, allocations: 16.34 MB / 1.112 GB, free: 80 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001036/1.554, allocations: 1.007 MB / 1.113 GB, free: 15.07 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004929/1.559, allocations: 1.334 MB / 1.114 GB, free: 13.75 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04967/1.609, allocations: 20.26 MB / 1.134 GB, free: 9.004 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005554/1.609, allocations: 35.47 kB / 1.134 GB, free: 8.984 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/1.613, allocations: 0.5443 MB / 1.134 GB, free: 8.445 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003889/1.614, allocations: 387 kB / 1.135 GB, free: 8.07 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03974/1.653, allocations: 18.15 MB / 1.152 GB, free: 6.039 MB / 0.8263 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.1357/1.789, allocations: 86.46 MB / 1.237 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02163/1.811, allocations: 12.96 MB / 1.249 GB, free: 15.38 MB / 0.9357 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01199/1.823, allocations: 7.409 MB / 1.257 GB, free: 7.969 MB / 0.9357 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 evalFunc (simulation): time 0.05328/1.876, allocations: 26.93 MB / 1.283 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01109/1.887, allocations: 6.063 MB / 1.289 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005351/1.893, allocations: 0.817 MB / 1.29 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=772): time 1.88e-05/1.893, allocations: 0 / 1.29 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=772): time 0.7732/2.666, allocations: 32.36 MB / 1.321 GB, free: 395.4 MB / 0.9827 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/2.666, allocations: 158.3 kB / 1.321 GB, free: 395.3 MB / 0.9827 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02145/2.688, allocations: 12.84 MB / 1.334 GB, free: 391.1 MB / 0.9827 GB Notification: Performance of collectPreVariables (initialization): time 0.00212/2.69, allocations: 200.7 kB / 1.334 GB, free: 390.9 MB / 0.9827 GB Notification: Performance of collectInitialEqns (initialization): time 0.006571/2.696, allocations: 7.027 MB / 1.341 GB, free: 386.5 MB / 0.9827 GB Notification: Performance of collectInitialBindings (initialization): time 0.003504/2.7, allocations: 2.698 MB / 1.344 GB, free: 384.5 MB / 0.9827 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006642/2.706, allocations: 2.313 MB / 1.346 GB, free: 383.4 MB / 0.9827 GB Notification: Performance of setup shared object (initialization): time 4.05e-05/2.706, allocations: 306.9 kB / 1.346 GB, free: 383.1 MB / 0.9827 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009154/2.716, allocations: 6.329 MB / 1.352 GB, free: 380.8 MB / 0.9827 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01126/2.727, allocations: 9.598 MB / 1.362 GB, free: 374.6 MB / 0.9827 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02034/2.747, allocations: 15.96 MB / 1.377 GB, free: 363.1 MB / 0.9827 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001007/2.747, allocations: 31.94 kB / 1.377 GB, free: 363 MB / 0.9827 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.03509/2.783, allocations: 18.88 MB / 1.396 GB, free: 344.1 MB / 0.9827 GB Notification: Performance of prepare postOptimizeDAE: time 0.000121/2.783, allocations: 77.77 kB / 1.396 GB, free: 344 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001395/2.783, allocations: 96 kB / 1.396 GB, free: 343.9 MB / 0.9827 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0616/2.844, allocations: 9.121 MB / 1.405 GB, free: 334.8 MB / 0.9827 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009733/2.854, allocations: 2.449 MB / 1.407 GB, free: 332.3 MB / 0.9827 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/2.864, allocations: 10.82 MB / 1.418 GB, free: 321.2 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/2.876, allocations: 0.7215 MB / 1.418 GB, free: 320.5 MB / 0.9827 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002041/2.878, allocations: 0.5233 MB / 1.419 GB, free: 320 MB / 0.9827 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01717/2.895, allocations: 11.72 MB / 1.43 GB, free: 308.2 MB / 0.9827 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01/2.905, allocations: 9.594 MB / 1.44 GB, free: 297.2 MB / 0.9827 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01787/2.923, allocations: 15.95 MB / 1.455 GB, free: 279.8 MB / 0.9827 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.541e-05/2.923, allocations: 28 kB / 1.455 GB, free: 279.8 MB / 0.9827 GB Notification: Performance of matching and sorting (n=1474) (initialization_lambda0): time 0.02901/2.952, allocations: 18.87 MB / 1.474 GB, free: 260.8 MB / 0.9827 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/2.952, allocations: 76.36 kB / 1.474 GB, free: 260.7 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/2.952, allocations: 100 kB / 1.474 GB, free: 260.6 MB / 0.9827 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05869/3.011, allocations: 9.116 MB / 1.483 GB, free: 251.5 MB / 0.9827 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01241/3.023, allocations: 2.457 MB / 1.485 GB, free: 249.1 MB / 0.9827 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0172/3.041, allocations: 10.82 MB / 1.496 GB, free: 237.9 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01832/3.059, allocations: 0.7139 MB / 1.497 GB, free: 237.2 MB / 0.9827 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002177/3.061, allocations: 0.5194 MB / 1.497 GB, free: 236.7 MB / 0.9827 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 (mHex_flow_in.count,$PRE.mHex_flow_in.count,mHex_flow_in.T_start,$PRE.mHex_flow_in.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(16,144)} Notification: Performance of prepare postOptimizeDAE: time 0.003104/3.064, allocations: 0.8567 MB / 1.498 GB, free: 235.8 MB / 0.9827 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004842/3.069, allocations: 1.173 MB / 1.499 GB, free: 234.7 MB / 0.9827 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02695/3.096, allocations: 13.38 MB / 1.512 GB, free: 221.3 MB / 0.9827 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01457/3.111, allocations: 11.04 MB / 1.523 GB, free: 210.1 MB / 0.9827 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.152e-05/3.111, allocations: 0 / 1.523 GB, free: 210.1 MB / 0.9827 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007192/3.118, allocations: 2.771 MB / 1.526 GB, free: 207.3 MB / 0.9827 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003352/3.121, allocations: 152 kB / 1.526 GB, free: 207.2 MB / 0.9827 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008622/3.13, allocations: 464.2 kB / 1.526 GB, free: 206.7 MB / 0.9827 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001142/3.131, allocations: 469.5 kB / 1.527 GB, free: 206.3 MB / 0.9827 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02346/3.155, allocations: 14.31 MB / 1.541 GB, free: 192 MB / 0.9827 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.02218/3.177, allocations: 18.92 MB / 1.559 GB, free: 173 MB / 0.9827 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005658/3.183, allocations: 5.514 MB / 1.564 GB, free: 167.5 MB / 0.9827 GB Notification: Performance of sorting global known variables: time 0.01208/3.195, allocations: 8.908 MB / 1.573 GB, free: 158.6 MB / 0.9827 GB Notification: Performance of Backend: time 5.31e-07/3.195, allocations: 0 / 1.573 GB, free: 158.6 MB / 0.9827 GB Notification: Performance of simCode: created initialization part: time 0.0315/3.226, allocations: 19.77 MB / 1.592 GB, free: 139 MB / 0.9827 GB Notification: Performance of SimCode: time 0.06293/3.289, allocations: 36.06 MB / 1.628 GB, free: 103.1 MB / 0.9827 GB Notification: Performance of Templates: time 0.717/4.006, allocations: 333.3 MB / 1.953 GB, free: 157 MB / 0.9827 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Validation.HeatExchangerDynamics.pipe 2>&1)