Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.659/1.659, allocations: 292.3 MB / 308.1 MB, free: 4.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001369/0.001369, allocations: 186.4 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00093/0.0009301, allocations: 101.5 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 59.91 kB / 0.8704 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2258, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.5495/0.7753, allocations: 80.37 MB / 1.061 GB, free: 56.67 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.03415/0.8095, allocations: 22.82 MB / 1.083 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005369/0.8149, allocations: 100.2 kB / 1.083 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004166/0.8191, allocations: 0.9862 MB / 1.084 GB, free: 43.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008228/0.8274, allocations: 2.563 MB / 1.087 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006055/0.8334, allocations: 2.139 MB / 1.089 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.02989/0.8634, allocations: 35.98 MB / 1.124 GB, free: 27.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01957/0.883, allocations: 15.13 MB / 1.139 GB, free: 21.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02144/0.9044, allocations: 9.465 MB / 1.148 GB, free: 18.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02568/0.9302, allocations: 11.58 MB / 1.159 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.007984/0.9382, allocations: 0.9037 MB / 1.16 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01578/0.954, allocations: 2.156 MB / 1.162 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.01019/0.9643, allocations: 3.183 MB / 1.165 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.02436/0.9887, allocations: 5.938 MB / 1.171 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.03353/1.022, allocations: 17.86 MB / 1.188 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/1.022, allocations: 0 / 1.188 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/1.022, allocations: 0 / 1.188 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0006897/1.023, allocations: 0 / 1.188 GB, free: 0.5195 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.04461/1.068, allocations: 12.1 MB / 1.2 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/1.068, allocations: 8.031 kB / 1.2 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00942/1.077, allocations: 1.246 MB / 1.201 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02489/1.102, allocations: 9.855 MB / 1.211 GB, free: 9.109 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/1.103, allocations: 436.1 kB / 1.212 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004365/1.107, allocations: 0.5819 MB / 1.212 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03798/1.145, allocations: 14.61 MB / 1.226 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000327/1.145, allocations: 31.77 kB / 1.226 GB, free: 9.195 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003507/1.149, allocations: 240 kB / 1.227 GB, free: 8.961 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/1.149, allocations: 139.9 kB / 1.227 GB, free: 8.824 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03832/1.187, allocations: 19.77 MB / 1.246 GB, free: 5.031 MB / 0.8073 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.1168/1.304, allocations: 59.88 MB / 1.305 GB, free: 7.68 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01549/1.32, allocations: 9.167 MB / 1.313 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01274/1.333, allocations: 8.593 MB / 1.322 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05598/1.389, allocations: 27.37 MB / 1.349 GB, free: 10.15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01224/1.401, allocations: 7.644 MB / 1.356 GB, free: 2.465 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02328/1.424, allocations: 8.573 MB / 1.364 GB, free: 9.879 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=300): time 2.056e-05/1.424, allocations: 0 / 1.364 GB, free: 9.879 MB / 0.9323 GB Notification: Performance of matching and sorting (n=300): time 0.777/2.201, allocations: 23.33 MB / 1.387 GB, free: 254.7 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/2.201, allocations: 83.16 kB / 1.387 GB, free: 254.7 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0171/2.218, allocations: 7.899 MB / 1.395 GB, free: 252.5 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 0.002113/2.221, allocations: 96.48 kB / 1.395 GB, free: 252.4 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 0.00352/2.224, allocations: 4.006 MB / 1.399 GB, free: 250.1 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 0.002812/2.227, allocations: 1.075 MB / 1.4 GB, free: 249.3 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003223/2.23, allocations: 1.665 MB / 1.402 GB, free: 248.9 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 4.064e-05/2.23, allocations: 306.7 kB / 1.402 GB, free: 248.6 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008574/2.239, allocations: 6.55 MB / 1.408 GB, free: 246.2 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/2.249, allocations: 8.319 MB / 1.417 GB, free: 241.5 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0213/2.271, allocations: 15.24 MB / 1.431 GB, free: 234.3 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.184e-05/2.271, allocations: 16 kB / 1.431 GB, free: 234.3 MB / 0.9324 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03235/2.303, allocations: 17.51 MB / 1.449 GB, free: 228.1 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-05/2.303, allocations: 52.19 kB / 1.449 GB, free: 228.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-05/2.303, allocations: 46.22 kB / 1.449 GB, free: 228.1 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06643/2.37, allocations: 11.52 MB / 1.46 GB, free: 226.8 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00894/2.379, allocations: 1.553 MB / 1.461 GB, free: 226.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0076/2.386, allocations: 6.218 MB / 1.467 GB, free: 223 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01085/2.397, allocations: 0.5109 MB / 1.468 GB, free: 222.8 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002788/2.4, allocations: 0.5476 MB / 1.468 GB, free: 222.8 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01575/2.416, allocations: 8.79 MB / 1.477 GB, free: 219.7 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01284/2.429, allocations: 8.279 MB / 1.485 GB, free: 214.9 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0225/2.451, allocations: 15.15 MB / 1.5 GB, free: 207.4 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.439e-05/2.451, allocations: 17.41 kB / 1.5 GB, free: 207.4 MB / 0.9324 GB Notification: Performance of matching and sorting (n=579) (initialization_lambda0): time 0.03299/2.484, allocations: 17.19 MB / 1.517 GB, free: 200.9 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 9.752e-05/2.485, allocations: 52.52 kB / 1.517 GB, free: 200.9 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-05/2.485, allocations: 54.38 kB / 1.517 GB, free: 200.9 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06437/2.549, allocations: 11.06 MB / 1.528 GB, free: 195.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008766/2.558, allocations: 1.553 MB / 1.529 GB, free: 193.6 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/2.569, allocations: 10.14 MB / 1.539 GB, free: 183.1 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01101/2.58, allocations: 0.5132 MB / 1.54 GB, free: 182.6 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00272/2.583, allocations: 0.5304 MB / 1.54 GB, free: 182 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.003328/2.586, allocations: 487.1 kB / 1.541 GB, free: 181.5 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003171/2.59, allocations: 0.7525 MB / 1.541 GB, free: 180.8 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02501/2.615, allocations: 14.15 MB / 1.555 GB, free: 166.6 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.664e-05/2.615, allocations: 32 kB / 1.555 GB, free: 166.6 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/2.615, allocations: 0 / 1.555 GB, free: 166.6 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01348/2.628, allocations: 10.75 MB / 1.566 GB, free: 155.7 MB / 0.9324 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 postOpt removeSimpleEquations (simulation): time 0.03729/2.665, allocations: 24.5 MB / 1.59 GB, free: 131.2 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/2.666, allocations: 4.812 kB / 1.59 GB, free: 131.2 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004948/2.67, allocations: 0.6921 MB / 1.59 GB, free: 130.5 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06249/2.733, allocations: 10.72 MB / 1.601 GB, free: 119.8 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001387/2.734, allocations: 103.9 kB / 1.601 GB, free: 119.7 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004424/2.739, allocations: 4.691 MB / 1.605 GB, free: 114.8 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/2.739, allocations: 7.938 kB / 1.605 GB, free: 114.8 MB / 0.9324 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 1.228/3.967, allocations: 225.7 MB / 1.826 GB, free: 226.8 MB / 0.948 GB Error: post-optimization module symbolicJacobian (simulation) failed.