Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) 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) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 188.9 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.31/1.31, allocations: 205.1 MB / 223.1 MB, free: 8.461 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001049/0.001049, allocations: 103 kB / 270.5 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3712/0.3712, allocations: 48.84 MB / 366.7 MB, free: 46.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 55.92 kB / 436.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09634/0.09739, allocations: 59.15 MB / 495.8 MB, free: 128 kB / 378.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3296/0.427, allocations: 159.5 MB / 0.6399 GB, free: 3.465 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01258/0.4396, allocations: 10.63 MB / 0.6503 GB, free: 8.867 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004427/0.4401, allocations: 7.938 kB / 0.6503 GB, free: 8.859 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.4406, allocations: 87.44 kB / 0.6504 GB, free: 8.773 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004887/0.4455, allocations: 1.676 MB / 0.652 GB, free: 7.105 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006573/0.4521, allocations: 2.101 MB / 0.6541 GB, free: 5.012 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.4544, allocations: 2.644 MB / 0.6567 GB, free: 2.363 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.4555, allocations: 0.5543 MB / 0.6572 GB, free: 1.812 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009667/0.4565, allocations: 0.6196 MB / 0.6578 GB, free: 1.191 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003133/0.4596, allocations: 1.598 MB / 0.6594 GB, free: 15.58 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003382/0.46, allocations: 63.98 kB / 0.6594 GB, free: 15.52 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01009/0.4701, allocations: 5.858 MB / 0.6651 GB, free: 9.652 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007919/0.4709, allocations: 0.5805 MB / 0.6657 GB, free: 9.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001366/0.4723, allocations: 0.6302 MB / 0.6663 GB, free: 8.438 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008228/0.4805, allocations: 4.475 MB / 0.6707 GB, free: 3.953 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4805, allocations: 0 / 0.6707 GB, free: 3.953 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4806, allocations: 4 kB / 0.6707 GB, free: 3.949 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.784e-05/0.4806, allocations: 0 / 0.6707 GB, free: 3.949 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.006217/0.4868, allocations: 1.989 MB / 0.6726 GB, free: 1.914 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4869, allocations: 8.031 kB / 0.6726 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002558/0.4895, allocations: 287.4 kB / 0.6729 GB, free: 1.625 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.4908, allocations: 0.6395 MB / 0.6735 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.4908, allocations: 86.31 kB / 0.6736 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/0.4911, allocations: 124.4 kB / 0.6737 GB, free: 0.7344 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/0.4949, allocations: 1.761 MB / 0.6755 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.4949, allocations: 0 / 0.6755 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.4951, allocations: 40 kB / 0.6755 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.366e-05/0.4951, allocations: 27.98 kB / 0.6755 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003713/0.4988, allocations: 1.842 MB / 0.6773 GB, free: 13.04 MB / 0.4948 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.007338/0.5062, allocations: 4.733 MB / 0.6819 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005159/0.5114, allocations: 2.483 MB / 0.6844 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.5131, allocations: 1.084 MB / 0.6854 GB, free: 4.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2259/0.7389, allocations: 20.04 MB / 0.705 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.739, allocations: 58.94 kB / 0.7051 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=207): time 4.217e-06/0.739, allocations: 0 / 0.7051 GB, free: 155.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=207): time 0.01295/0.752, allocations: 6.325 MB / 0.7112 GB, free: 153.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.7521, allocations: 72.03 kB / 0.7113 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.7524, allocations: 389.1 kB / 0.7117 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.7526, allocations: 66.31 kB / 0.7117 GB, free: 152.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.7527, allocations: 213.6 kB / 0.7119 GB, free: 152.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004178/0.7531, allocations: 0.733 MB / 0.7127 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00045/0.7536, allocations: 344.1 kB / 0.713 GB, free: 152 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.7536, allocations: 341 kB / 0.7133 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001247/0.7549, allocations: 0.9347 MB / 0.7142 GB, free: 151.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.7564, allocations: 1.094 MB / 0.7153 GB, free: 151 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002875/0.7593, allocations: 2.161 MB / 0.7174 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7593, allocations: 0 / 0.7174 GB, free: 150.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004771/0.7641, allocations: 3.244 MB / 0.7206 GB, free: 149 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.7641, allocations: 2.938 kB / 0.7206 GB, free: 149 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.7641, allocations: 1.516 kB / 0.7206 GB, free: 149 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01224/0.7764, allocations: 2.664 MB / 0.7232 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/0.7776, allocations: 239.5 kB / 0.7234 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00659/0.7842, allocations: 4.098 MB / 0.7274 GB, free: 146.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.7854, allocations: 152.3 kB / 0.7276 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.7856, allocations: 73.56 kB / 0.7276 GB, free: 146.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(36,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0004835/0.7861, allocations: 339.7 kB / 0.728 GB, free: 146.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/0.7863, allocations: 110.3 kB / 0.7281 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.7973, allocations: 8.952 MB / 0.7368 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.573e-05/0.7974, allocations: 114.8 kB / 0.7369 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.7974, allocations: 2.812 kB / 0.7369 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-05/0.7975, allocations: 15.89 kB / 0.7369 GB, free: 141.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/0.8089, allocations: 10.68 MB / 0.7474 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8089, allocations: 0 / 0.7474 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002511/0.8114, allocations: 0.5166 MB / 0.7479 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004572/0.816, allocations: 2.196 MB / 0.75 GB, free: 131.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.8162, allocations: 79.95 kB / 0.7501 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.8268, allocations: 19.72 MB / 0.7693 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8268, allocations: 8.094 kB / 0.7693 GB, free: 110.5 MB / 0.4948 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.4546/1.281, allocations: 153.7 MB / 0.9195 GB, free: 101.6 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.