Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.SpaceCooling.System3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System3,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_SpaceCooling_System3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.347/2.347, allocations: 387.4 MB / 394.9 MB, free: 13.33 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.001351/0.001351, allocations: 184.8 kB / 487.4 MB, free: 5.016 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.684/1.684, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 95.09 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.894e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3009, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.488/6.789, allocations: 2.344 GB / 3.55 GB, free: 338.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/6.789, allocations: 91.78 kB / 3.55 GB, free: 338.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 12.18/18.97, allocations: 2.695 GB / 6.245 GB, free: 115.5 MB / 1.245 GB Notification: Performance of FrontEnd: time 2.685e-06/18.97, allocations: 3 kB / 6.245 GB, free: 115.5 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001027/18.97, allocations: 134.8 kB / 6.245 GB, free: 115.5 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1033 * Number of variables: 1033 Notification: Performance of Generate backend data structure: time 0.02747/19, allocations: 5.642 MB / 6.251 GB, free: 113.5 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 6.759e-05/19, allocations: 6.938 kB / 6.251 GB, free: 113.5 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0267/19.02, allocations: 3.342 MB / 6.254 GB, free: 113.1 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02782/19.05, allocations: 5.159 MB / 6.259 GB, free: 112.3 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/19.05, allocations: 136.4 kB / 6.259 GB, free: 112.3 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002539/19.05, allocations: 249.8 kB / 6.259 GB, free: 112.3 MB / 1.245 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01443/19.07, allocations: 4.553 MB / 6.264 GB, free: 112.3 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01728/19.08, allocations: 4.274 MB / 6.268 GB, free: 111.9 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001104/19.08, allocations: 7.031 kB / 6.268 GB, free: 111.9 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005661/19.09, allocations: 7.578 kB / 6.268 GB, free: 111.9 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/19.09, allocations: 161.9 kB / 6.268 GB, free: 111.9 MB / 1.245 GB Warning: The model contains alias variables with conflicting start and/or 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.04445/19.13, allocations: 20.19 MB / 6.288 GB, free: 104.8 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006413/19.14, allocations: 3.97 MB / 6.292 GB, free: 103.8 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003102/19.14, allocations: 1.779 MB / 6.293 GB, free: 103.7 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/19.16, allocations: 7.917 MB / 6.301 GB, free: 101.4 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003364/19.16, allocations: 1.998 MB / 6.303 GB, free: 101.2 MB / 1.245 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003055/19.16, allocations: 185.8 kB / 6.303 GB, free: 101.1 MB / 1.245 GB Notification: Performance of pre-optimization done (n=318): time 8.345e-06/19.16, allocations: 0 / 6.303 GB, free: 101.1 MB / 1.245 GB Notification: Performance of matching and sorting (n=324): time 0.02605/19.19, allocations: 8.43 MB / 6.311 GB, free: 99.72 MB / 1.245 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/19.19, allocations: 269 kB / 6.312 GB, free: 99.43 MB / 1.245 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005661/19.2, allocations: 2.522 MB / 6.314 GB, free: 99.14 MB / 1.245 GB Notification: Performance of collectPreVariables (initialization): time 0.001317/19.2, allocations: 29.73 kB / 6.314 GB, free: 99.11 MB / 1.245 GB Notification: Performance of collectInitialEqns (initialization): time 0.002439/19.2, allocations: 2.09 MB / 6.316 GB, free: 98.38 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/19.2, allocations: 1.043 MB / 6.317 GB, free: 97.68 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/19.2, allocations: 8.688 kB / 6.317 GB, free: 97.68 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 0.0003211/19.2, allocations: 432.8 kB / 6.318 GB, free: 97.36 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002541/19.21, allocations: 1.409 MB / 6.319 GB, free: 97.36 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/19.21, allocations: 2.084 MB / 6.321 GB, free: 96.66 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/19.21, allocations: 1.761 MB / 6.323 GB, free: 96.62 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/19.21, allocations: 2.906 kB / 6.323 GB, free: 96.62 MB / 1.245 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.0125/19.22, allocations: 4.651 MB / 6.327 GB, free: 96.23 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 0.001849/19.23, allocations: 5.66 MB / 6.333 GB, free: 90.36 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/19.23, allocations: 12.66 kB / 6.333 GB, free: 90.36 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/19.23, allocations: 0.7181 MB / 6.334 GB, free: 90.3 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006886/19.24, allocations: 1.001 MB / 6.335 GB, free: 90.3 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/19.25, allocations: 9.261 MB / 6.344 GB, free: 83.64 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008719/19.26, allocations: 498.3 kB / 6.344 GB, free: 83.61 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/19.26, allocations: 165.6 kB / 6.344 GB, free: 83.61 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/19.26, allocations: 3.562 kB / 6.344 GB, free: 83.61 MB / 1.245 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01117/19.27, allocations: 4.253 MB / 6.348 GB, free: 83.37 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-05/19.27, allocations: 10.91 kB / 6.348 GB, free: 83.37 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/19.27, allocations: 0.7148 MB / 6.349 GB, free: 83.32 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006202/19.28, allocations: 0.9931 MB / 6.35 GB, free: 83.32 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01088/19.29, allocations: 10.09 MB / 6.36 GB, free: 75.9 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007878/19.3, allocations: 499.6 kB / 6.36 GB, free: 75.88 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/19.3, allocations: 161.1 kB / 6.361 GB, free: 75.88 MB / 1.245 GB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: cooCoi.UAFroRated.cpEff:VARIABLE(min = 0.0 unit = "J/(kg.K)" fixed = false protected = true ) "Effective specific heat: change in saturated moist air enthalpy with respect to temperature along the saturation line between inlet and outlet water temperatures" type: Real cooCoi.UAFroRated.LMED:VARIABLE(unit = "J/kg" fixed = false protected = true ) "Log mean enthalpy difference" type: Real cooCoi.UAFroRated.UA:VARIABLE(unit = "W/K" protected = true ) = cooCoi.UA_nominal "Overall heat transfer coefficient for a fully dry condition" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fan.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (cooCoi.flowRegime_nominal,$whenCondition2,$whenCondition1,cooCoi.flowRegime,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.con.y,con.y,cooCoi.UAFroRated.isFulDry,cooCoi.UAFroRated.isFulWet) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 373 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,3} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,2 22,1 2,1 3,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001718/19.3, allocations: 196.1 kB / 6.361 GB, free: 75.75 MB / 1.245 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01116/19.31, allocations: 3.85 MB / 6.364 GB, free: 75.37 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001762/19.31, allocations: 417.8 kB / 6.365 GB, free: 75.16 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/19.33, allocations: 4.639 MB / 6.369 GB, free: 74.78 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.102e-05/19.33, allocations: 38.38 kB / 6.369 GB, free: 74.78 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/19.33, allocations: 6.812 kB / 6.369 GB, free: 74.78 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008632/19.33, allocations: 3.647 MB / 6.373 GB, free: 74.48 MB / 1.245 GB Warning: The model contains alias variables with conflicting start and/or 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.02253/19.36, allocations: 9.265 MB / 6.382 GB, free: 73.72 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/19.36, allocations: 5.125 kB / 6.382 GB, free: 73.72 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005004/19.36, allocations: 0.8432 MB / 6.383 GB, free: 73.72 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/19.36, allocations: 384.9 kB / 6.383 GB, free: 73.67 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005999/19.36, allocations: 67.98 kB / 6.383 GB, free: 73.67 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007241/19.37, allocations: 8.909 MB / 6.392 GB, free: 65.88 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.814e-06/19.37, allocations: 2.25 kB / 6.392 GB, free: 65.88 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/19.39, allocations: 6.461 MB / 6.398 GB, free: 65.04 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004042/19.39, allocations: 1.02 MB / 6.399 GB, free: 64.73 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001794/19.39, allocations: 21.2 kB / 6.399 GB, free: 64.72 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006749/19.4, allocations: 468.3 kB / 6.4 GB, free: 64.7 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006199/19.4, allocations: 223.2 kB / 6.4 GB, free: 64.7 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004731/19.4, allocations: 143.4 kB / 6.4 GB, free: 64.7 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.004496/19.4, allocations: 1.881 MB / 6.402 GB, free: 64.52 MB / 1.245 GB Notification: Performance of sort global known variables: time 8.31e-07/19.4, allocations: 0 / 6.402 GB, free: 64.52 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.02053/19.43, allocations: 2.802 MB / 6.405 GB, free: 64.4 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (vol.dynBal.medium.X[2],vol.dynBal.medium.dT,vol.dynBal.m,fan.filter.s[1],fan.filter.s[2],cooCoi.heaCoo.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.medium.Xi[1],cooCoi.heaCooHum_u.vol.dynBal.U,cooCoi.heaCooHum_u.vol.dynBal.m,cooCoi.dryWetCalcs.fullyWet.TWatOutEst,senTemHXOut.T,senTemSupAir.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,cooCoi.flowRegime,weaDat.conTimMin.tNext,weaDat.conTim.tNext,con.y) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,con.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (336): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 4 {1 2,1 4,1 1,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02869/19.45, allocations: 14.57 MB / 6.419 GB, free: 59.6 MB / 1.245 GB Error: Internal error function createNonlinearResidualEquations failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3306:7-3306:48:writable] Error: Internal error createOdeSystem2 failed for Generic Jacobian via directional derivatives [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:3197:9-3197:50:writable] Error: Internal error function createOdeSystem failed for component {12, 11, 10:12, 11, 10, 9, 8, 7, 13} Size: 3 Generic Jacobian via directional derivatives [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:1369:5-1369:77:writable] Error: Internal error createEquationsForSystems failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:637:5-637:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed]