Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACWithExhaust",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.0008919/0.0008919, allocations: 98.11 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007699/0.00077, allocations: 181.4 kB / 16.92 MB, free: 6.898 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.216/1.216, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6105/0.6105, allocations: 115.5 MB / 407.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000261/0.000261, allocations: 11.98 kB / 496 MB, free: 6.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.111, allocations: 77.53 MB / 0.56 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7415/0.8525, allocations: 372.8 MB / 0.9241 GB, free: 16.05 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03764/0.8902, allocations: 46.3 MB / 0.9694 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004517/0.8947, allocations: 148.6 kB / 0.9695 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01072/0.9055, allocations: 8.112 MB / 0.9774 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01211/0.9176, allocations: 6.873 MB / 0.9841 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006167/0.9238, allocations: 3.508 MB / 0.9876 GB, free: 14.44 MB / 0.6544 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01937/0.9431, allocations: 21.39 MB / 1.008 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005703/0.9489, allocations: 4.585 MB / 1.013 GB, free: 6.152 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008904/0.9578, allocations: 5.325 MB / 1.018 GB, free: 1.195 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005584/0.9634, allocations: 3.532 MB / 1.022 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006621/0.964, allocations: 179.9 kB / 1.022 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009992/0.974, allocations: 7.057 MB / 1.029 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001737/0.9758, allocations: 1.604 MB / 1.03 GB, free: 5.844 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003267/0.9791, allocations: 2.707 MB / 1.033 GB, free: 3.137 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009971/0.989, allocations: 10.17 MB / 1.043 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.9891, allocations: 0 / 1.043 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9891, allocations: 0 / 1.043 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.979e-05/0.9891, allocations: 0 / 1.043 GB, free: 9.41 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.007599/0.9967, allocations: 5.38 MB / 1.048 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.9968, allocations: 8.031 kB / 1.048 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005002/0.9973, allocations: 472.1 kB / 1.048 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009655/1.007, allocations: 2.138 MB / 1.051 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007276/1.014, allocations: 5.624 MB / 1.056 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001283/1.016, allocations: 0.634 MB / 1.057 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/1.016, allocations: 346.9 kB / 1.057 GB, free: 10.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007144/1.023, allocations: 4.599 MB / 1.062 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.538e-05/1.023, allocations: 7.875 kB / 1.062 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/1.023, allocations: 140 kB / 1.062 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/1.024, allocations: 134.5 kB / 1.062 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008132/1.032, allocations: 4.124 MB / 1.066 GB, free: 1.66 MB / 0.7169 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.02185/1.054, allocations: 19.36 MB / 1.085 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003454/1.057, allocations: 1.819 MB / 1.086 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/1.059, allocations: 0.9411 MB / 1.087 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005304/1.059, allocations: 417.1 kB / 1.088 GB, free: 9.793 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002109/1.062, allocations: 1.089 MB / 1.089 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000987/1.063, allocations: 181.7 kB / 1.089 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=131): time 2.415e-06/1.063, allocations: 0 / 1.089 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of matching and sorting (n=131): time 0.006577/1.069, allocations: 2.99 MB / 1.092 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/1.069, allocations: 145.8 kB / 1.092 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00508/1.074, allocations: 4.54 MB / 1.097 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/1.074, allocations: 57.7 kB / 1.097 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.001723/1.076, allocations: 2.44 MB / 1.099 GB, free: 14.32 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/1.077, allocations: 488.6 kB / 1.099 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/1.077, allocations: 320.6 kB / 1.1 GB, free: 13.53 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 6.974e-05/1.077, allocations: 301.1 kB / 1.1 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002854/1.08, allocations: 1.415 MB / 1.101 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003497/1.083, allocations: 2.553 MB / 1.104 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005665/1.089, allocations: 3.772 MB / 1.108 GB, free: 4.535 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-05/1.089, allocations: 8 kB / 1.108 GB, free: 4.527 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.007258/1.096, allocations: 4.356 MB / 1.112 GB, free: 156 kB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.1954/1.292, allocations: 1.098 MB / 1.113 GB, free: 341 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.459e-05/1.292, allocations: 40.41 kB / 1.113 GB, free: 341 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.483e-05/1.292, allocations: 49.52 kB / 1.113 GB, free: 341 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/1.295, allocations: 0.7386 MB / 1.114 GB, free: 341 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.692e-05/1.295, allocations: 70.83 kB / 1.114 GB, free: 341 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004357/1.299, allocations: 0.6657 MB / 1.114 GB, free: 341 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/1.299, allocations: 143.7 kB / 1.115 GB, free: 341 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 7.515e-06/1.299, allocations: 3.625 kB / 1.115 GB, free: 341 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007079/1.306, allocations: 3.957 MB / 1.118 GB, free: 340.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.96e-05/1.307, allocations: 33.81 kB / 1.118 GB, free: 340.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.427e-05/1.307, allocations: 48.03 kB / 1.119 GB, free: 340.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00262/1.309, allocations: 0.7443 MB / 1.119 GB, free: 340.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.628e-05/1.309, allocations: 70.12 kB / 1.119 GB, free: 340.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.313, allocations: 0.5635 MB / 1.12 GB, free: 340.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/1.313, allocations: 142.7 kB / 1.12 GB, free: 340.6 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (356): * Single equations (assignments): 350 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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.002068/1.315, allocations: 1.395 MB / 1.121 GB, free: 340.3 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/1.316, allocations: 434.4 kB / 1.122 GB, free: 340.3 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005168/1.321, allocations: 2.372 MB / 1.124 GB, free: 339.4 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.321, allocations: 12.81 kB / 1.124 GB, free: 339.4 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/1.321, allocations: 2.922 kB / 1.124 GB, free: 339.4 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003876/1.325, allocations: 1.971 MB / 1.126 GB, free: 338.5 MB / 0.7637 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.01117/1.336, allocations: 6.946 MB / 1.133 GB, free: 335.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/1.336, allocations: 10.53 kB / 1.133 GB, free: 335.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.338, allocations: 339.2 kB / 1.133 GB, free: 335.4 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001964/1.338, allocations: 60.47 kB / 1.133 GB, free: 335.4 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/1.338, allocations: 47.56 kB / 1.133 GB, free: 335.4 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008099/1.339, allocations: 1.44 MB / 1.135 GB, free: 334 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/1.339, allocations: 19.94 kB / 1.135 GB, free: 334 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005862/1.345, allocations: 3.47 MB / 1.138 GB, free: 332.6 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009818/1.346, allocations: 0.7096 MB / 1.139 GB, free: 332.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003768/1.346, allocations: 39.17 kB / 1.139 GB, free: 332.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/1.349, allocations: 351.5 kB / 1.139 GB, free: 332.1 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/1.349, allocations: 118.7 kB / 1.139 GB, free: 332.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.349, allocations: 66.58 kB / 1.139 GB, free: 332.1 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003447/1.352, allocations: 3.038 MB / 1.142 GB, free: 331.1 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.31e-07/1.352, allocations: 3.344 kB / 1.142 GB, free: 331.1 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.004203/1.357, allocations: 2.335 MB / 1.145 GB, free: 330.8 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * 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 (129): * Single equations (assignments): 126 * 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.006424/1.363, allocations: 4.563 MB / 1.149 GB, free: 328.6 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.007973/1.371, allocations: 4.984 MB / 1.154 GB, free: 326.9 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.371, allocations: 2.625 kB / 1.154 GB, free: 326.9 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/1.373, allocations: 1.093 MB / 1.155 GB, free: 326.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01396/1.387, allocations: 1.992 MB / 1.157 GB, free: 326.1 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05624/1.443, allocations: 41.78 MB / 1.198 GB, free: 283.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/1.445, allocations: 3.019 MB / 1.201 GB, free: 280.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004543/1.45, allocations: 1.298 MB / 1.202 GB, free: 278.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00176/1.451, allocations: 2.107 MB / 1.204 GB, free: 276.8 MB / 0.7637 GB Notification: Performance of SimCode: time 5.81e-07/1.451, allocations: 0 / 1.204 GB, free: 276.8 MB / 0.7637 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: IBPSA.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).