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.004215/0.004215, allocations: 100.8 kB / 15.87 MB, free: 6.32 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.001107/0.001107, allocations: 194.5 kB / 16.79 MB, free: 6.246 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.124/1.124, allocations: 222.9 MB / 240.5 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.607/0.607, allocations: 115.3 MB / 405.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001126, allocations: 63.91 kB / 493 MB, free: 0.7773 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2446/0.2458, allocations: 76.17 MB / 0.5558 GB, free: 36.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.4886/0.7344, allocations: 378.1 MB / 0.9251 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.04821/0.7826, allocations: 46.85 MB / 0.9708 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004424/0.7871, allocations: 167 kB / 0.971 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.01349/0.8006, allocations: 8.131 MB / 0.9789 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01402/0.8147, allocations: 6.874 MB / 0.9857 GB, free: 12.53 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.006474/0.8211, allocations: 3.498 MB / 0.9891 GB, free: 9.062 MB / 0.7012 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‘ [/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.0108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01978/0.8409, allocations: 21.38 MB / 1.01 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005029/0.846, allocations: 4.826 MB / 1.015 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008907/0.8549, allocations: 5.564 MB / 1.02 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005236/0.8601, allocations: 3.838 MB / 1.024 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005069/0.8606, allocations: 268 kB / 1.024 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2959/1.157, allocations: 7.138 MB / 1.031 GB, free: 27.29 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.002749/1.159, allocations: 1.773 MB / 1.033 GB, free: 27.29 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.004726/1.164, allocations: 2.879 MB / 1.036 GB, free: 27.29 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01178/1.176, allocations: 10.41 MB / 1.046 GB, free: 26.77 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.176, allocations: 0.8125 kB / 1.046 GB, free: 26.77 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.02e-07/1.176, allocations: 0.6875 kB / 1.046 GB, free: 26.77 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001078/1.176, allocations: 1.031 kB / 1.046 GB, free: 26.77 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.009662/1.186, allocations: 6.461 MB / 1.052 GB, free: 24.01 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/1.186, allocations: 7.969 kB / 1.052 GB, free: 24.01 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005061/1.186, allocations: 472.5 kB / 1.053 GB, free: 23.95 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/1.196, allocations: 2.021 MB / 1.055 GB, free: 23.63 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007113/1.203, allocations: 5.612 MB / 1.06 GB, free: 22.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/1.205, allocations: 0.599 MB / 1.061 GB, free: 22.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/1.205, allocations: 347.4 kB / 1.061 GB, free: 22.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006991/1.212, allocations: 4.544 MB / 1.065 GB, free: 22.17 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/1.212, allocations: 4.031 kB / 1.065 GB, free: 22.17 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003209/1.212, allocations: 145.6 kB / 1.066 GB, free: 22.17 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.349e-05/1.213, allocations: 138.1 kB / 1.066 GB, free: 22.16 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007438/1.22, allocations: 4.036 MB / 1.07 GB, free: 22.08 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.01993/1.24, allocations: 19.29 MB / 1.088 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002976/1.243, allocations: 1.8 MB / 1.09 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/1.245, allocations: 0.9353 MB / 1.091 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004697/1.245, allocations: 410.4 kB / 1.091 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001961/1.247, allocations: 1.087 MB / 1.093 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001249/1.248, allocations: 168.1 kB / 1.093 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=131): time 2.585e-06/1.248, allocations: 3.562 kB / 1.093 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=131): time 0.005906/1.254, allocations: 2.975 MB / 1.096 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/1.254, allocations: 145 kB / 1.096 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004257/1.258, allocations: 4.544 MB / 1.1 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/1.259, allocations: 59.45 kB / 1.1 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001443/1.26, allocations: 2.421 MB / 1.103 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/1.26, allocations: 481.3 kB / 1.103 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007476/1.261, allocations: 0.6874 MB / 1.104 GB, free: 9.629 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 2.858e-05/1.261, allocations: 301.1 kB / 1.104 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/1.264, allocations: 1.431 MB / 1.105 GB, free: 9.277 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/1.266, allocations: 2.549 MB / 1.108 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/1.271, allocations: 3.747 MB / 1.112 GB, free: 6.566 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/1.271, allocations: 14.53 kB / 1.112 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.006492/1.277, allocations: 4.355 MB / 1.116 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.794e-05/1.277, allocations: 48.73 kB / 1.116 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/1.278, allocations: 35.53 kB / 1.116 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.059e-05/1.278, allocations: 53.88 kB / 1.116 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/1.28, allocations: 0.7368 MB / 1.117 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-05/1.28, allocations: 73.23 kB / 1.117 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003997/1.284, allocations: 0.6717 MB / 1.117 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/1.284, allocations: 141.9 kB / 1.118 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003628/1.288, allocations: 2.571 MB / 1.12 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002796/1.291, allocations: 2.554 MB / 1.123 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004249/1.295, allocations: 3.752 MB / 1.126 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.104e-05/1.295, allocations: 7.75 kB / 1.126 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=424) (initialization_lambda0): time 0.005968/1.301, allocations: 4.352 MB / 1.13 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.301, allocations: 47.14 kB / 1.131 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.301, allocations: 36.31 kB / 1.131 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/1.301, allocations: 54.22 kB / 1.131 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/1.303, allocations: 0.7364 MB / 1.131 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.686e-05/1.303, allocations: 77.08 kB / 1.131 GB, free: 2.734 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003555/1.307, allocations: 0.6017 MB / 1.132 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/1.307, allocations: 140.3 kB / 1.132 GB, free: 2.664 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.0004021/1.307, allocations: 372.8 kB / 1.132 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004031/1.308, allocations: 425.2 kB / 1.133 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004228/1.312, allocations: 2.363 MB / 1.135 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.312, allocations: 15.69 kB / 1.135 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.312, allocations: 0 / 1.135 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003254/1.315, allocations: 1.956 MB / 1.137 GB, free: 1.242 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 postOpt removeSimpleEquations (simulation): time 0.01009/1.325, allocations: 6.939 MB / 1.144 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/1.326, allocations: 8.656 kB / 1.144 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/1.327, allocations: 337.7 kB / 1.144 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001756/1.327, allocations: 62.92 kB / 1.144 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/1.327, allocations: 44.36 kB / 1.144 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009224/1.328, allocations: 1.435 MB / 1.146 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.328, allocations: 17.81 kB / 1.146 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005713/1.334, allocations: 3.459 MB / 1.149 GB, free: 7.406 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009861/1.335, allocations: 0.7009 MB / 1.15 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004457/1.335, allocations: 44.17 kB / 1.15 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002479/1.338, allocations: 342.3 kB / 1.15 GB, free: 6.473 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/1.338, allocations: 124.2 kB / 1.15 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.338, allocations: 67.59 kB / 1.15 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003434/1.342, allocations: 3.041 MB / 1.153 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/1.342, allocations: 0 / 1.153 GB, free: 4.168 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004667/1.346, allocations: 2.337 MB / 1.156 GB, free: 1.949 MB / 0.7481 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.006895/1.353, allocations: 4.524 MB / 1.16 GB, free: 14.17 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00795/1.361, allocations: 4.974 MB / 1.165 GB, free: 10.65 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/1.361, allocations: 4 kB / 1.165 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002006/1.363, allocations: 1.079 MB / 1.166 GB, free: 9.844 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006434/1.37, allocations: 1.987 MB / 1.168 GB, free: 8.297 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06466/1.434, allocations: 41.67 MB / 1.209 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/1.437, allocations: 3.014 MB / 1.212 GB, free: 9.16 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.004825/1.441, allocations: 1.304 MB / 1.213 GB, free: 7.883 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/1.444, allocations: 2.108 MB / 1.215 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/1.444, allocations: 0 / 1.215 GB, free: 5.773 MB / 0.8106 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).