Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_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.001309/0.001309, allocations: 103.2 kB / 16.27 MB, free: 5.93 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.0009756/0.0009756, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.23/1.23, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6941/0.6941, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 63.91 kB / 0.4912 GB, free: 7.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2767, allocations: 77.92 MB / 0.5673 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.5307/0.8074, allocations: 342.8 MB / 0.9021 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04174/0.8492, allocations: 38.38 MB / 0.9396 GB, free: 9.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003674/0.8529, allocations: 135.2 kB / 0.9397 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009287/0.8622, allocations: 5.617 MB / 0.9452 GB, free: 3.484 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01158/0.8738, allocations: 5.79 MB / 0.9508 GB, free: 13.67 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0058/0.8796, allocations: 3.055 MB / 0.9538 GB, free: 10.64 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01194/0.8916, allocations: 11.35 MB / 0.9649 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00506/0.8967, allocations: 4.198 MB / 0.969 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00844/0.9051, allocations: 4.877 MB / 0.9738 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005823/0.911, allocations: 2.741 MB / 0.9764 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001212/0.9122, allocations: 372 kB / 0.9768 GB, free: 2.984 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009714/0.9219, allocations: 5.305 MB / 0.982 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001809/0.9237, allocations: 1.391 MB / 0.9833 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003661/0.9274, allocations: 2.247 MB / 0.9855 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01115/0.9386, allocations: 7.576 MB / 0.9929 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.9386, allocations: 0 / 0.9929 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9386, allocations: 4 kB / 0.9929 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001656/0.9388, allocations: 4 kB / 0.9929 GB, free: 2.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: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.00862/0.9474, allocations: 4.767 MB / 0.9976 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.9475, allocations: 16.61 kB / 0.9976 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003858/0.9478, allocations: 366.5 kB / 0.998 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007969/0.9558, allocations: 1.489 MB / 0.9994 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005866/0.9617, allocations: 3.725 MB / 1.003 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001063/0.9628, allocations: 458 kB / 1.003 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003515/0.9631, allocations: 263.9 kB / 1.004 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005764/0.9689, allocations: 3.392 MB / 1.007 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.949e-05/0.969, allocations: 0 / 1.007 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.9692, allocations: 111.9 kB / 1.007 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.521e-05/0.9693, allocations: 108.8 kB / 1.007 GB, free: 3.426 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006229/0.9755, allocations: 3.013 MB / 1.01 GB, free: 408 kB / 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.01868/0.9942, allocations: 14.75 MB / 1.025 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2114/1.206, allocations: 1.581 MB / 1.026 GB, free: 316.8 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/1.207, allocations: 0.6973 MB / 1.027 GB, free: 316.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/1.208, allocations: 299 kB / 1.027 GB, free: 316.4 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001793/1.209, allocations: 0.8065 MB / 1.028 GB, free: 316.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=103): time 3.386e-06/1.209, allocations: 0.5 kB / 1.028 GB, free: 316.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=103): time 0.00584/1.215, allocations: 2.197 MB / 1.03 GB, free: 315.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.215, allocations: 118.2 kB / 1.03 GB, free: 315.4 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004669/1.22, allocations: 3.207 MB / 1.033 GB, free: 314.3 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001517/1.22, allocations: 50.84 kB / 1.033 GB, free: 314.3 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001121/1.221, allocations: 1.718 MB / 1.035 GB, free: 313.2 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/1.222, allocations: 380.7 kB / 1.035 GB, free: 313 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006025/1.222, allocations: 466 kB / 1.036 GB, free: 312.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.372e-05/1.222, allocations: 305.9 kB / 1.036 GB, free: 312.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/1.224, allocations: 0.9651 MB / 1.037 GB, free: 312.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002435/1.227, allocations: 1.731 MB / 1.039 GB, free: 310.9 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/1.231, allocations: 2.52 MB / 1.041 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.231, allocations: 6.375 kB / 1.041 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005586/1.236, allocations: 2.98 MB / 1.044 GB, free: 308.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/1.236, allocations: 44.67 kB / 1.044 GB, free: 308.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.324e-05/1.236, allocations: 21.56 kB / 1.044 GB, free: 308.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.965e-05/1.236, allocations: 32.53 kB / 1.044 GB, free: 308.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001928/1.238, allocations: 0.5238 MB / 1.045 GB, free: 308.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.432e-05/1.238, allocations: 48.66 kB / 1.045 GB, free: 308.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002742/1.241, allocations: 434.6 kB / 1.045 GB, free: 308.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/1.241, allocations: 100.8 kB / 1.045 GB, free: 308 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003113/1.244, allocations: 1.752 MB / 1.047 GB, free: 307.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002318/1.247, allocations: 1.732 MB / 1.049 GB, free: 306.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003643/1.25, allocations: 2.53 MB / 1.051 GB, free: 304.6 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.006e-05/1.25, allocations: 3.938 kB / 1.051 GB, free: 304.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005016/1.255, allocations: 2.979 MB / 1.054 GB, free: 303.5 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/1.255, allocations: 46.19 kB / 1.054 GB, free: 303.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/1.255, allocations: 23.75 kB / 1.054 GB, free: 303.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.255, allocations: 31.72 kB / 1.054 GB, free: 303.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.257, allocations: 0.5154 MB / 1.055 GB, free: 303.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/1.257, allocations: 43.38 kB / 1.055 GB, free: 303.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/1.26, allocations: 379.7 kB / 1.055 GB, free: 303.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/1.26, allocations: 98.39 kB / 1.055 GB, free: 303.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * 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.0003893/1.26, allocations: 324.3 kB / 1.055 GB, free: 303 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/1.261, allocations: 309.5 kB / 1.056 GB, free: 302.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003269/1.264, allocations: 1.683 MB / 1.057 GB, free: 302.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.264, allocations: 11.28 kB / 1.057 GB, free: 302.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/1.264, allocations: 11.78 kB / 1.057 GB, free: 302.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002468/1.266, allocations: 1.304 MB / 1.059 GB, free: 301.6 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006331/1.273, allocations: 4.548 MB / 1.063 GB, free: 298.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/1.273, allocations: 7.594 kB / 1.063 GB, free: 298.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.274, allocations: 244.3 kB / 1.063 GB, free: 298.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001799/1.274, allocations: 55.12 kB / 1.063 GB, free: 298.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/1.274, allocations: 34.39 kB / 1.063 GB, free: 298.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007645/1.275, allocations: 1.545 MB / 1.065 GB, free: 297.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/1.275, allocations: 13.5 kB / 1.065 GB, free: 297.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/1.279, allocations: 2.516 MB / 1.067 GB, free: 295.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006498/1.28, allocations: 0.5512 MB / 1.068 GB, free: 295.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/1.28, allocations: 24 kB / 1.068 GB, free: 295.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/1.282, allocations: 159 kB / 1.068 GB, free: 294.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/1.282, allocations: 92.81 kB / 1.068 GB, free: 294.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.133e-05/1.282, allocations: 51.97 kB / 1.068 GB, free: 294.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002365/1.284, allocations: 2.167 MB / 1.07 GB, free: 292.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/1.284, allocations: 0 / 1.07 GB, free: 292.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003042/1.288, allocations: 1.698 MB / 1.072 GB, free: 291 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (102): * Single equations (assignments): 99 * 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.005019/1.293, allocations: 3.548 MB / 1.076 GB, free: 287.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006272/1.299, allocations: 3.577 MB / 1.079 GB, free: 283.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/1.299, allocations: 0 / 1.079 GB, free: 283.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001467/1.3, allocations: 0.8154 MB / 1.08 GB, free: 283 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00497/1.305, allocations: 1.504 MB / 1.081 GB, free: 281.6 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02876/1.334, allocations: 26.81 MB / 1.108 GB, free: 252.5 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.335, allocations: 2.319 MB / 1.11 GB, free: 250.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003232/1.339, allocations: 0.892 MB / 1.111 GB, free: 249.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/1.34, allocations: 1.44 MB / 1.112 GB, free: 247.9 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/1.34, allocations: 7.938 kB / 1.112 GB, free: 247.9 MB / 0.7325 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).