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.001138/0.001138, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001104/0.001104, allocations: 191.2 kB / 16.91 MB, free: 6.195 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.128/1.128, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6152/0.6152, allocations: 115.3 MB / 406.1 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.89 kB / 493.2 MB, free: 0.5898 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2517, allocations: 76.16 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.5088/0.7605, allocations: 375.9 MB / 0.9231 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04783/0.8084, allocations: 46.19 MB / 0.9682 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004721/0.8131, allocations: 159.1 kB / 0.9683 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.8263, allocations: 8.469 MB / 0.9766 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01441/0.8407, allocations: 6.87 MB / 0.9833 GB, free: 72 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006831/0.8475, allocations: 3.536 MB / 0.9868 GB, free: 12.57 MB / 0.7012 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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:1089:9-1089: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.0167/0.8642, allocations: 17.52 MB / 1.004 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005267/0.8695, allocations: 5.524 MB / 1.009 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009079/0.8786, allocations: 6.321 MB / 1.015 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004493/0.8831, allocations: 3.959 MB / 1.019 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005504/0.8837, allocations: 0.4999 MB / 1.02 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008848/0.8925, allocations: 6.633 MB / 1.026 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001396/0.8939, allocations: 2.018 MB / 1.028 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.2974/1.191, allocations: 3.139 MB / 1.031 GB, free: 29.6 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01296/1.204, allocations: 10.61 MB / 1.042 GB, free: 29.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/1.204, allocations: 3.328 kB / 1.042 GB, free: 29.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/1.204, allocations: 0 / 1.042 GB, free: 29.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001055/1.204, allocations: 0 / 1.042 GB, free: 29.34 MB / 0.7325 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.01037/1.215, allocations: 6.458 MB / 1.048 GB, free: 26.54 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/1.215, allocations: 10.69 kB / 1.048 GB, free: 26.54 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005413/1.215, allocations: 476.1 kB / 1.048 GB, free: 26.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/1.226, allocations: 2.012 MB / 1.05 GB, free: 26.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007675/1.234, allocations: 5.615 MB / 1.056 GB, free: 25.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001218/1.235, allocations: 0.5945 MB / 1.056 GB, free: 25.09 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/1.235, allocations: 345.2 kB / 1.057 GB, free: 25.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007214/1.242, allocations: 4.549 MB / 1.061 GB, free: 24.75 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/1.243, allocations: 4.312 kB / 1.061 GB, free: 24.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000317/1.243, allocations: 139 kB / 1.061 GB, free: 24.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/1.243, allocations: 136 kB / 1.062 GB, free: 24.74 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/1.25, allocations: 4.041 MB / 1.065 GB, free: 24.66 MB / 0.7325 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.02089/1.271, allocations: 19.3 MB / 1.084 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/1.275, allocations: 1.796 MB / 1.086 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001684/1.276, allocations: 0.9345 MB / 1.087 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004886/1.277, allocations: 415.5 kB / 1.087 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001962/1.279, allocations: 1.086 MB / 1.088 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001508/1.28, allocations: 178.7 kB / 1.089 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=131): time 2.926e-06/1.28, allocations: 0 / 1.089 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.006018/1.286, allocations: 2.977 MB / 1.092 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/1.286, allocations: 144.8 kB / 1.092 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00445/1.291, allocations: 4.539 MB / 1.096 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.291, allocations: 60.38 kB / 1.096 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001225/1.292, allocations: 2.43 MB / 1.099 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/1.292, allocations: 484.1 kB / 1.099 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007988/1.293, allocations: 0.6855 MB / 1.1 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 2.826e-05/1.293, allocations: 301.1 kB / 1.1 GB, free: 11.89 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/1.296, allocations: 1.42 MB / 1.101 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/1.298, allocations: 2.556 MB / 1.104 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004546/1.303, allocations: 3.744 MB / 1.107 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/1.303, allocations: 12.28 kB / 1.107 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.006374/1.309, allocations: 4.354 MB / 1.112 GB, free: 8.723 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/1.309, allocations: 50.5 kB / 1.112 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/1.309, allocations: 32.91 kB / 1.112 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.354e-05/1.31, allocations: 54.72 kB / 1.112 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/1.312, allocations: 0.7451 MB / 1.113 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.943e-05/1.312, allocations: 72.34 kB / 1.113 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004011/1.316, allocations: 0.6603 MB / 1.113 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.316, allocations: 140.3 kB / 1.113 GB, free: 8.578 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003628/1.32, allocations: 2.572 MB / 1.116 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002672/1.323, allocations: 2.559 MB / 1.118 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004353/1.327, allocations: 3.748 MB / 1.122 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.12e-05/1.327, allocations: 15.34 kB / 1.122 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424) (initialization_lambda0): time 0.006186/1.333, allocations: 4.346 MB / 1.126 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/1.333, allocations: 49.23 kB / 1.126 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/1.333, allocations: 31.03 kB / 1.126 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/1.333, allocations: 49.62 kB / 1.126 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002334/1.336, allocations: 0.7406 MB / 1.127 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.499e-05/1.336, allocations: 74.83 kB / 1.127 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.339, allocations: 0.5984 MB / 1.128 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/1.34, allocations: 146.2 kB / 1.128 GB, free: 5.227 MB / 0.7325 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.0004309/1.34, allocations: 371.5 kB / 1.128 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/1.34, allocations: 426.7 kB / 1.129 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004218/1.345, allocations: 2.365 MB / 1.131 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/1.345, allocations: 11.16 kB / 1.131 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.345, allocations: 0 / 1.131 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003193/1.348, allocations: 1.956 MB / 1.133 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009403/1.357, allocations: 6.79 MB / 1.14 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/1.357, allocations: 15.94 kB / 1.14 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/1.359, allocations: 330.9 kB / 1.14 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/1.359, allocations: 54.95 kB / 1.14 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/1.359, allocations: 50.34 kB / 1.14 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/1.36, allocations: 1.544 MB / 1.142 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.36, allocations: 20.94 kB / 1.142 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005966/1.366, allocations: 3.442 MB / 1.145 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.367, allocations: 0.7076 MB / 1.146 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004933/1.368, allocations: 43.73 kB / 1.146 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002608/1.37, allocations: 339.3 kB / 1.146 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.371, allocations: 117.6 kB / 1.146 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.371, allocations: 71.2 kB / 1.146 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0036/1.374, allocations: 3.035 MB / 1.149 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/1.374, allocations: 0 / 1.149 GB, free: 7.629 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004989/1.379, allocations: 2.334 MB / 1.151 GB, free: 5.418 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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.007386/1.387, allocations: 4.526 MB / 1.156 GB, free: 1.629 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008873/1.396, allocations: 5.164 MB / 1.161 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/1.396, allocations: 0 / 1.161 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002116/1.398, allocations: 1.079 MB / 1.162 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006862/1.405, allocations: 2.106 MB / 1.164 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0692/1.474, allocations: 41.67 MB / 1.205 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002632/1.476, allocations: 3.029 MB / 1.208 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004953/1.481, allocations: 1.3 MB / 1.209 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00242/1.484, allocations: 2.1 MB / 1.211 GB, free: 8.699 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/1.484, allocations: 0 / 1.211 GB, free: 8.699 MB / 0.8106 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: IBPSA.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).