Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001088/0.001088, allocations: 193.3 kB / 16.14 MB, free: 6.652 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.496/2.496, allocations: 461.8 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 75.97 kB / 0.8985 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2263, allocations: 157.4 MB / 1.052 GB, free: 8.207 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7351/0.9615, allocations: 340.9 MB / 1.385 GB, free: 13.36 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04612/1.008, allocations: 38.66 MB / 1.423 GB, free: 3.785 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0056/1.013, allocations: 130.8 kB / 1.423 GB, free: 3.734 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01263/1.026, allocations: 5.213 MB / 1.428 GB, free: 0.5898 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01541/1.041, allocations: 5.446 MB / 1.433 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007836/1.049, allocations: 2.755 MB / 1.436 GB, free: 10.37 MB / 1.045 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01955/1.069, allocations: 14.37 MB / 1.45 GB, free: 14.3 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005819/1.075, allocations: 3.623 MB / 1.454 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00987/1.085, allocations: 4.331 MB / 1.458 GB, free: 6.246 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005828/1.09, allocations: 2.828 MB / 1.461 GB, free: 3.422 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008686/1.091, allocations: 204 kB / 1.461 GB, free: 3.223 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01196/1.103, allocations: 5.989 MB / 1.467 GB, free: 13.22 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002087/1.105, allocations: 1.234 MB / 1.468 GB, free: 11.98 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003149/1.109, allocations: 2.056 MB / 1.47 GB, free: 9.914 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0125/1.121, allocations: 7.778 MB / 1.478 GB, free: 2.113 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/1.121, allocations: 0 / 1.478 GB, free: 2.113 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.222e-06/1.121, allocations: 4 kB / 1.478 GB, free: 2.109 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.00012/1.121, allocations: 0 / 1.478 GB, free: 2.109 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.009639/1.131, allocations: 4.78 MB / 1.482 GB, free: 13.23 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.131, allocations: 8.031 kB / 1.482 GB, free: 13.22 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004457/1.131, allocations: 362.5 kB / 1.483 GB, free: 12.86 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008896/1.14, allocations: 1.482 MB / 1.484 GB, free: 11.37 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00736/1.148, allocations: 3.749 MB / 1.488 GB, free: 7.555 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001095/1.149, allocations: 457.9 kB / 1.488 GB, free: 7.086 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006102/1.149, allocations: 260 kB / 1.488 GB, free: 6.832 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00702/1.156, allocations: 3.395 MB / 1.492 GB, free: 3.332 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/1.157, allocations: 0 / 1.492 GB, free: 3.332 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/1.157, allocations: 104 kB / 1.492 GB, free: 3.23 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.996e-05/1.157, allocations: 100.9 kB / 1.492 GB, free: 3.129 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006875/1.164, allocations: 3.037 MB / 1.495 GB, free: 80 kB / 1.092 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.01997/1.184, allocations: 14.44 MB / 1.509 GB, free: 0.5586 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003373/1.187, allocations: 1.596 MB / 1.51 GB, free: 14.91 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/1.189, allocations: 0.6992 MB / 1.511 GB, free: 14.21 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003789/1.189, allocations: 309.5 kB / 1.511 GB, free: 13.86 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/1.191, allocations: 0.8176 MB / 1.512 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009086/1.192, allocations: 118.5 kB / 1.512 GB, free: 12.9 MB / 1.123 GB Notification: Performance of pre-optimization done (n=105): time 2.585e-06/1.192, allocations: 0 / 1.512 GB, free: 12.9 MB / 1.123 GB Notification: Performance of matching and sorting (n=105): time 0.005372/1.197, allocations: 2.216 MB / 1.515 GB, free: 10.65 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.82e-05/1.197, allocations: 123.7 kB / 1.515 GB, free: 10.51 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003973/1.201, allocations: 3.084 MB / 1.518 GB, free: 7.43 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.201, allocations: 49.7 kB / 1.518 GB, free: 7.375 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00127/1.203, allocations: 1.734 MB / 1.519 GB, free: 5.625 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/1.203, allocations: 382.7 kB / 1.52 GB, free: 5.246 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006375/1.204, allocations: 467.3 kB / 1.52 GB, free: 4.781 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.596e-05/1.204, allocations: 305.1 kB / 1.521 GB, free: 4.48 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/1.206, allocations: 0.9697 MB / 1.521 GB, free: 3.508 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/1.208, allocations: 1.726 MB / 1.523 GB, free: 1.441 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004092/1.213, allocations: 2.54 MB / 1.526 GB, free: 14.59 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/1.213, allocations: 8 kB / 1.526 GB, free: 14.59 MB / 1.139 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.005613/1.218, allocations: 2.977 MB / 1.529 GB, free: 11.59 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.765e-05/1.218, allocations: 41.7 kB / 1.529 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/1.218, allocations: 22.19 kB / 1.529 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/1.218, allocations: 32 kB / 1.529 GB, free: 11.49 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00203/1.22, allocations: 0.5267 MB / 1.529 GB, free: 10.96 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.651e-05/1.22, allocations: 47.86 kB / 1.529 GB, free: 10.92 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/1.223, allocations: 479.5 kB / 1.53 GB, free: 10.45 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/1.224, allocations: 104 kB / 1.53 GB, free: 10.35 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003258/1.227, allocations: 1.761 MB / 1.531 GB, free: 8.578 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002687/1.23, allocations: 1.726 MB / 1.533 GB, free: 6.512 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00411/1.234, allocations: 2.54 MB / 1.536 GB, free: 3.672 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.548e-06/1.234, allocations: 4 kB / 1.536 GB, free: 3.668 MB / 1.139 GB Notification: Performance of matching and sorting (n=284) (initialization_lambda0): time 0.005952/1.24, allocations: 2.989 MB / 1.539 GB, free: 0.6602 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/1.24, allocations: 47.89 kB / 1.539 GB, free: 0.6094 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/1.24, allocations: 20 kB / 1.539 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-05/1.24, allocations: 35.94 kB / 1.539 GB, free: 0.5547 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002017/1.242, allocations: 0.5226 MB / 1.539 GB, free: 32 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.725e-05/1.242, allocations: 47.84 kB / 1.539 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/1.245, allocations: 466.4 kB / 1.54 GB, free: 15.53 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001673/1.245, allocations: 99.97 kB / 1.54 GB, free: 15.43 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (249): * Single equations (assignments): 245 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004617/1.246, allocations: 307.6 kB / 1.54 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/1.246, allocations: 300.2 kB / 1.54 GB, free: 14.83 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003864/1.25, allocations: 1.702 MB / 1.542 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.25, allocations: 12 kB / 1.542 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.25, allocations: 0 / 1.542 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00284/1.253, allocations: 1.317 MB / 1.543 GB, free: 11.75 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008662/1.262, allocations: 4.71 MB / 1.548 GB, free: 6.852 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.262, allocations: 7.938 kB / 1.548 GB, free: 6.844 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/1.263, allocations: 248.1 kB / 1.548 GB, free: 6.602 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002051/1.263, allocations: 56.81 kB / 1.548 GB, free: 6.543 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.044e-05/1.263, allocations: 39.92 kB / 1.548 GB, free: 6.504 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/1.264, allocations: 1.425 MB / 1.55 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.264, allocations: 11.94 kB / 1.55 GB, free: 4.938 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/1.269, allocations: 2.544 MB / 1.552 GB, free: 2.277 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009633/1.27, allocations: 0.5323 MB / 1.553 GB, free: 1.723 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003409/1.271, allocations: 28 kB / 1.553 GB, free: 1.695 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002129/1.273, allocations: 259.5 kB / 1.553 GB, free: 1.441 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001626/1.273, allocations: 88.38 kB / 1.553 GB, free: 1.355 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/1.273, allocations: 51.97 kB / 1.553 GB, free: 1.305 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003036/1.276, allocations: 2.079 MB / 1.555 GB, free: 15.24 MB / 1.17 GB Notification: Performance of sort global known variables: time 2.51e-07/1.276, allocations: 0 / 1.555 GB, free: 15.24 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.004307/1.28, allocations: 1.737 MB / 1.557 GB, free: 13.5 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006465/1.287, allocations: 3.569 MB / 1.56 GB, free: 9.812 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.007222/1.294, allocations: 3.456 MB / 1.564 GB, free: 6.34 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.294, allocations: 4 kB / 1.564 GB, free: 6.336 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/1.296, allocations: 0.8322 MB / 1.564 GB, free: 5.492 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006658/1.303, allocations: 1.381 MB / 1.566 GB, free: 4.121 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05593/1.359, allocations: 27.44 MB / 1.593 GB, free: 6.457 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002001/1.361, allocations: 2.311 MB / 1.595 GB, free: 4.113 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.004125/1.365, allocations: 0.8912 MB / 1.596 GB, free: 3.215 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/1.367, allocations: 1.437 MB / 1.597 GB, free: 1.777 MB / 1.201 GB Notification: Performance of SimCode: time 9.91e-07/1.367, allocations: 0 / 1.597 GB, free: 1.777 MB / 1.201 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: Buildings.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).