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.001227/0.001227, allocations: 105.2 kB / 16.27 MB, free: 5.988 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.0009586/0.0009586, allocations: 191.3 kB / 17.2 MB, free: 5.617 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.22/1.22, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7085/0.7085, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2939, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.5382/0.8322, allocations: 342.8 MB / 0.9021 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0446/0.8768, allocations: 38.37 MB / 0.9396 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00426/0.8811, allocations: 139.2 kB / 0.9397 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01055/0.8917, allocations: 5.617 MB / 0.9452 GB, free: 3.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01338/0.9051, allocations: 5.789 MB / 0.9508 GB, free: 13.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006507/0.9116, allocations: 3.06 MB / 0.9538 GB, free: 10.65 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01308/0.9247, allocations: 11.34 MB / 0.9649 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005938/0.9306, allocations: 4.198 MB / 0.969 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009746/0.9404, allocations: 4.877 MB / 0.9738 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004618/0.945, allocations: 2.747 MB / 0.9764 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008826/0.9459, allocations: 372 kB / 0.9768 GB, free: 3 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009394/0.9553, allocations: 5.305 MB / 0.982 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.957, allocations: 1.394 MB / 0.9833 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003133/0.9601, allocations: 2.251 MB / 0.9855 GB, free: 10.02 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.9703, allocations: 7.576 MB / 0.9929 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9703, allocations: 0 / 0.9929 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.267e-06/0.9703, allocations: 4 kB / 0.9929 GB, free: 2.422 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001589/0.9705, allocations: 0 / 0.9929 GB, free: 2.422 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.008842/0.9793, allocations: 4.767 MB / 0.9976 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.9794, allocations: 12.62 kB / 0.9976 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004747/0.9799, allocations: 362.5 kB / 0.998 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008398/0.9883, allocations: 1.485 MB / 0.9994 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/0.9947, allocations: 3.737 MB / 1.003 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001106/0.9958, allocations: 458 kB / 1.003 GB, free: 7.418 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003885/0.9962, allocations: 267.8 kB / 1.004 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006172/1.002, allocations: 3.389 MB / 1.007 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/1.002, allocations: 0 / 1.007 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002588/1.003, allocations: 111.9 kB / 1.007 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-05/1.003, allocations: 104.9 kB / 1.007 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006955/1.01, allocations: 3.013 MB / 1.01 GB, free: 424 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.02055/1.03, allocations: 14.75 MB / 1.025 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2227/1.253, allocations: 1.582 MB / 1.026 GB, free: 316.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/1.255, allocations: 0.6928 MB / 1.027 GB, free: 316.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003701/1.255, allocations: 299.8 kB / 1.027 GB, free: 316.3 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002/1.257, allocations: 0.8073 MB / 1.028 GB, free: 316.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=103): time 3.606e-06/1.257, allocations: 0 / 1.028 GB, free: 316.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=103): time 0.006136/1.263, allocations: 2.196 MB / 1.03 GB, free: 315.4 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/1.263, allocations: 120.4 kB / 1.03 GB, free: 315.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005966/1.269, allocations: 3.201 MB / 1.033 GB, free: 314.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/1.27, allocations: 55.7 kB / 1.033 GB, free: 314.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001166/1.271, allocations: 1.724 MB / 1.035 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002725/1.271, allocations: 377.3 kB / 1.035 GB, free: 312.9 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006333/1.272, allocations: 465.6 kB / 1.036 GB, free: 312.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.117e-05/1.272, allocations: 305.8 kB / 1.036 GB, free: 312.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/1.274, allocations: 0.9584 MB / 1.037 GB, free: 312.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002565/1.277, allocations: 1.735 MB / 1.039 GB, free: 310.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003965/1.281, allocations: 2.523 MB / 1.041 GB, free: 309.3 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/1.281, allocations: 5.5 kB / 1.041 GB, free: 309.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005847/1.286, allocations: 2.978 MB / 1.044 GB, free: 308.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/1.286, allocations: 49.09 kB / 1.044 GB, free: 308.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/1.286, allocations: 20.72 kB / 1.044 GB, free: 308.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.401e-05/1.287, allocations: 37.12 kB / 1.044 GB, free: 308.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/1.289, allocations: 0.5178 MB / 1.045 GB, free: 308.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.905e-05/1.289, allocations: 52.06 kB / 1.045 GB, free: 308.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/1.292, allocations: 429.5 kB / 1.045 GB, free: 308 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.292, allocations: 110 kB / 1.045 GB, free: 308 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003269/1.295, allocations: 1.749 MB / 1.047 GB, free: 307.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002437/1.297, allocations: 1.729 MB / 1.049 GB, free: 306 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003846/1.301, allocations: 2.533 MB / 1.051 GB, free: 304.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.028e-05/1.301, allocations: 7.938 kB / 1.051 GB, free: 304.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005196/1.307, allocations: 2.972 MB / 1.054 GB, free: 303.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.804e-05/1.307, allocations: 37.61 kB / 1.054 GB, free: 303.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/1.307, allocations: 26.88 kB / 1.054 GB, free: 303.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.307, allocations: 34.34 kB / 1.054 GB, free: 303.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/1.309, allocations: 0.5241 MB / 1.055 GB, free: 303.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/1.309, allocations: 43.39 kB / 1.055 GB, free: 303.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/1.311, allocations: 368.7 kB / 1.055 GB, free: 303.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/1.311, allocations: 98.41 kB / 1.055 GB, free: 303.2 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.0003689/1.312, allocations: 320.4 kB / 1.055 GB, free: 302.9 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003176/1.312, allocations: 310 kB / 1.056 GB, free: 302.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003428/1.316, allocations: 1.683 MB / 1.057 GB, free: 302.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.316, allocations: 15.78 kB / 1.057 GB, free: 302.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/1.316, allocations: 3.938 kB / 1.057 GB, free: 302.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00268/1.318, allocations: 1.3 MB / 1.059 GB, free: 301.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/1.325, allocations: 4.558 MB / 1.063 GB, free: 298.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/1.325, allocations: 7.875 kB / 1.063 GB, free: 298.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/1.326, allocations: 241.2 kB / 1.063 GB, free: 298.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001872/1.326, allocations: 55.64 kB / 1.063 GB, free: 298.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/1.327, allocations: 35.48 kB / 1.063 GB, free: 298.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008104/1.327, allocations: 1.547 MB / 1.065 GB, free: 296.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/1.327, allocations: 8.5 kB / 1.065 GB, free: 296.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004251/1.332, allocations: 2.52 MB / 1.067 GB, free: 295.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006692/1.332, allocations: 0.5541 MB / 1.068 GB, free: 295 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003401/1.333, allocations: 26.78 kB / 1.068 GB, free: 295 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/1.334, allocations: 155 kB / 1.068 GB, free: 294.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.335, allocations: 92.28 kB / 1.068 GB, free: 294.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.611e-05/1.335, allocations: 51.97 kB / 1.068 GB, free: 294.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002443/1.337, allocations: 2.167 MB / 1.07 GB, free: 292.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/1.337, allocations: 0 / 1.07 GB, free: 292.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003111/1.34, allocations: 1.696 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.005212/1.346, allocations: 3.555 MB / 1.076 GB, free: 287.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006484/1.352, allocations: 3.574 MB / 1.079 GB, free: 283.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.352, allocations: 192 / 1.079 GB, free: 283.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/1.354, allocations: 0.8186 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.005062/1.359, allocations: 1.495 MB / 1.081 GB, free: 281.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/1.389, allocations: 26.82 MB / 1.108 GB, free: 252.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/1.39, allocations: 2.314 MB / 1.11 GB, free: 250.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003468/1.394, allocations: 0.8963 MB / 1.111 GB, free: 249.4 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/1.395, allocations: 1.447 MB / 1.112 GB, free: 247.9 MB / 0.7325 GB Notification: Performance of SimCode: time 7.02e-07/1.395, allocations: 0 / 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).