Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") translateModel(Buildings.Fluid.SolarCollectors.Examples.FlatPlate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.238/2.238, allocations: 391.2 MB / 407 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 199.3 kB / 499.1 MB, free: 4.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 101.9 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 51.92 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.2842, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Examples.FlatPlate): time 0.05253/0.3367, allocations: 56.1 MB / 1.273 GB, free: 60.98 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.8425/1.179, allocations: 157.2 MB / 1.426 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/1.182, allocations: 56.44 kB / 1.426 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.002081/1.184, allocations: 0.5184 MB / 1.427 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.008595/1.193, allocations: 2.688 MB / 1.43 GB, free: 2.199 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.006487/1.2, allocations: 2.207 MB / 1.432 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.02053/1.22, allocations: 16.31 MB / 1.448 GB, free: 2.152 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01031/1.23, allocations: 5.581 MB / 1.453 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01419/1.245, allocations: 6.776 MB / 1.46 GB, free: 1.332 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007711/1.252, allocations: 3.726 MB / 1.463 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.001839/1.254, allocations: 302.9 kB / 1.464 GB, free: 0.8281 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/1.265, allocations: 4.035 MB / 1.468 GB, free: 0.7539 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.002814/1.268, allocations: 1.217 MB / 1.469 GB, free: 0.5508 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.006959/1.275, allocations: 2.763 MB / 1.471 GB, free: 15.73 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.01389/1.289, allocations: 9.492 MB / 1.481 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/1.289, allocations: 4 kB / 1.481 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.994e-06/1.289, allocations: 0 / 1.481 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000338/1.29, allocations: 2.531 kB / 1.481 GB, free: 14.62 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1059 * Number of variables: 1059 Notification: Performance of Generate backend data structure: time 0.02002/1.31, allocations: 6.283 MB / 1.487 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.31, allocations: 13.45 kB / 1.487 GB, free: 12.18 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/1.324, allocations: 1.753 MB / 1.489 GB, free: 11.85 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01704/1.341, allocations: 6.134 MB / 1.495 GB, free: 10.14 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/1.342, allocations: 301.9 kB / 1.495 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001865/1.344, allocations: 398.7 kB / 1.495 GB, free: 10.13 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/1.359, allocations: 5.974 MB / 1.501 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.749e-05/1.359, allocations: 5 kB / 1.501 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005954/1.36, allocations: 174.7 kB / 1.501 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/1.36, allocations: 171.8 kB / 1.501 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01522/1.375, allocations: 5.711 MB / 1.507 GB, free: 7.09 MB / 0.9323 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.05493/1.43, allocations: 20.73 MB / 1.527 GB, free: 6.578 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/1.444, allocations: 3.82 MB / 1.531 GB, free: 2.777 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006247/1.45, allocations: 1.94 MB / 1.533 GB, free: 0.832 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002762/1.453, allocations: 2.55 MB / 1.535 GB, free: 13.77 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00515/1.458, allocations: 2.166 MB / 1.537 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=285): time 5.1e-06/1.459, allocations: 0 / 1.537 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of matching and sorting (n=285): time 0.01757/1.476, allocations: 6.889 MB / 1.544 GB, free: 4.441 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/1.476, allocations: 239.9 kB / 1.544 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006052/1.482, allocations: 3.579 MB / 1.548 GB, free: 0.5977 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0009082/1.483, allocations: 77.7 kB / 1.548 GB, free: 0.5156 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.002173/1.485, allocations: 2.044 MB / 1.55 GB, free: 14.48 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001572/1.487, allocations: 0.9703 MB / 1.551 GB, free: 13.52 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/1.488, allocations: 0.6273 MB / 1.552 GB, free: 12.88 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.957e-05/1.488, allocations: 309.1 kB / 1.552 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003834/1.492, allocations: 1.655 MB / 1.553 GB, free: 10.91 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004464/1.497, allocations: 2.266 MB / 1.556 GB, free: 8.43 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008231/1.505, allocations: 4.004 MB / 1.56 GB, free: 4.246 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/1.505, allocations: 8 kB / 1.56 GB, free: 4.238 MB / 0.9792 GB Notification: Performance of matching and sorting (n=390) (initialization): time 0.01158/1.516, allocations: 4.58 MB / 1.564 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 6.196e-05/1.517, allocations: 12 kB / 1.564 GB, free: 15.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.735e-05/1.517, allocations: 16 kB / 1.564 GB, free: 15.68 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006223/1.517, allocations: 109.7 kB / 1.564 GB, free: 15.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004413/1.522, allocations: 0.802 MB / 1.565 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/1.524, allocations: 2.159 MB / 1.567 GB, free: 12.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005629/1.53, allocations: 0.4966 MB / 1.568 GB, free: 12 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007485/1.53, allocations: 159.9 kB / 1.568 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006476/1.537, allocations: 2.988 MB / 1.571 GB, free: 8.848 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004261/1.541, allocations: 2.261 MB / 1.573 GB, free: 6.371 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008302/1.55, allocations: 4.009 MB / 1.577 GB, free: 2.188 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.398e-05/1.55, allocations: 4 kB / 1.577 GB, free: 2.184 MB / 0.9948 GB Notification: Performance of matching and sorting (n=390) (initialization_lambda0): time 0.01258/1.562, allocations: 4.577 MB / 1.581 GB, free: 13.65 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/1.562, allocations: 12 kB / 1.581 GB, free: 13.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/1.562, allocations: 12 kB / 1.581 GB, free: 13.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005585/1.563, allocations: 113.5 kB / 1.581 GB, free: 13.51 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003835/1.567, allocations: 0.7963 MB / 1.582 GB, free: 12.76 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/1.569, allocations: 1.562 MB / 1.584 GB, free: 11.07 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005337/1.574, allocations: 440.2 kB / 1.584 GB, free: 10.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009961/1.575, allocations: 163.9 kB / 1.584 GB, free: 10.48 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (388): * Single equations (assignments): 386 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.00172/1.577, allocations: 374 kB / 1.585 GB, free: 10.16 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00223/1.579, allocations: 399.1 kB / 1.585 GB, free: 9.762 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01454/1.594, allocations: 5.145 MB / 1.59 GB, free: 4.562 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.554e-05/1.594, allocations: 35.98 kB / 1.59 GB, free: 4.527 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/1.594, allocations: 0 / 1.59 GB, free: 4.527 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00999/1.604, allocations: 4.115 MB / 1.594 GB, free: 328 kB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/1.628, allocations: 9.659 MB / 1.603 GB, free: 6.609 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/1.628, allocations: 4 kB / 1.603 GB, free: 6.605 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003488/1.631, allocations: 0.6034 MB / 1.604 GB, free: 6.027 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003198/1.635, allocations: 0.6565 MB / 1.605 GB, free: 5.352 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006226/1.635, allocations: 99.91 kB / 1.605 GB, free: 5.254 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/1.641, allocations: 7.529 MB / 1.612 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.641, allocations: 4.062 kB / 1.612 GB, free: 13.36 MB / 1.042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "TIn.T_b_inflow = Modelica.Math.Nonlinear.solveOneNonlinearEquation(function Buildings.Fluid.SolarCollectors.Examples.FlatPlate.TIn.Medium.T_ph.f_nonlinear(#(sou.ports[1].p), #(TIn.port_a.h_outflow)), 243.15, 373.15, 1e-13)" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7697/2.411, allocations: 67.12 MB / 1.678 GB, free: 10.04 MB / 1.104 GB Error: post-optimization module symbolicJacobian (simulation) failed.