Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IDEAS_dev_IDEAS_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.001044/0.001044, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001049/0.001049, allocations: 193 kB / 16.25 MB, free: 6.637 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8806/0.8806, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 68.98 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1308, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8085/0.9394, allocations: 338.5 MB / 0.9146 GB, free: 16.48 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03429/0.9737, allocations: 36.25 MB / 0.95 GB, free: 16.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003754/0.9775, allocations: 126.5 kB / 0.9501 GB, free: 16.07 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/AirToOutlet.mo:96:3-98:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Fluid/FMI/Conversion/InletToAir.mo:80:3-82:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.004312/0.9818, allocations: 2.082 MB / 0.9521 GB, free: 16.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.9925, allocations: 5.4 MB / 0.9574 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005603/0.9981, allocations: 2.805 MB / 0.9601 GB, free: 15.66 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007531/1.006, allocations: 8.559 MB / 0.9685 GB, free: 15.56 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003702/1.009, allocations: 4.134 MB / 0.9725 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007303/1.017, allocations: 4.942 MB / 0.9774 GB, free: 11.34 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/1.02, allocations: 2.861 MB / 0.9802 GB, free: 9.934 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004158/1.021, allocations: 374.9 kB / 0.9805 GB, free: 9.934 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007185/1.028, allocations: 5.381 MB / 0.9858 GB, free: 6.254 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008168/1.029, allocations: 1.271 MB / 0.987 GB, free: 5.012 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001579/1.03, allocations: 2.085 MB / 0.9891 GB, free: 2.953 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007121/1.037, allocations: 7.379 MB / 0.9963 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/1.037, allocations: 0 / 0.9963 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.272e-06/1.037, allocations: 0 / 0.9963 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.756e-05/1.038, allocations: 0 / 0.9963 GB, free: 12.02 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.006309/1.044, allocations: 4.386 MB / 1.001 GB, free: 7.609 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/1.044, allocations: 11.97 kB / 1.001 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003769/1.044, allocations: 358.4 kB / 1.001 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007442/1.052, allocations: 1.374 MB / 1.002 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00436/1.056, allocations: 2.724 MB / 1.005 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009992/1.057, allocations: 455.5 kB / 1.005 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003284/1.057, allocations: 263.3 kB / 1.006 GB, free: 2.469 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005475/1.063, allocations: 3.372 MB / 1.009 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/1.063, allocations: 3.656 kB / 1.009 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/1.063, allocations: 106.9 kB / 1.009 GB, free: 14.9 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.272e-05/1.063, allocations: 100.9 kB / 1.009 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005894/1.069, allocations: 2.993 MB / 1.012 GB, free: 11.8 MB / 0.7012 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.01732/1.087, allocations: 14.07 MB / 1.026 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/1.09, allocations: 1.588 MB / 1.027 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/1.091, allocations: 0.6962 MB / 1.028 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003452/1.091, allocations: 303.5 kB / 1.028 GB, free: 10.28 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001614/1.093, allocations: 0.8245 MB / 1.029 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006933/1.094, allocations: 118.3 kB / 1.029 GB, free: 9.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 3.898e-06/1.094, allocations: 4 kB / 1.029 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.004838/1.099, allocations: 2.15 MB / 1.031 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/1.099, allocations: 119.8 kB / 1.031 GB, free: 7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/1.101, allocations: 2.517 MB / 1.034 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/1.102, allocations: 53.7 kB / 1.034 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001014/1.103, allocations: 1.598 MB / 1.035 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/1.103, allocations: 378.8 kB / 1.036 GB, free: 2.438 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004894/1.103, allocations: 375.1 kB / 1.036 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.208e-05/1.103, allocations: 305.1 kB / 1.036 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001773/1.105, allocations: 0.7933 MB / 1.037 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/1.107, allocations: 1.531 MB / 1.039 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003784/1.111, allocations: 2.202 MB / 1.041 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-05/1.111, allocations: 12 kB / 1.041 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.005027/1.116, allocations: 2.508 MB / 1.043 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.141e-05/1.116, allocations: 46.14 kB / 1.043 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.226e-05/1.116, allocations: 25.64 kB / 1.043 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.459e-05/1.116, allocations: 32 kB / 1.043 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001879/1.118, allocations: 484 kB / 1.044 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-05/1.118, allocations: 43.02 kB / 1.044 GB, free: 9.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/1.121, allocations: 438 kB / 1.044 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/1.121, allocations: 99.91 kB / 1.044 GB, free: 9.164 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002725/1.124, allocations: 1.464 MB / 1.046 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002253/1.126, allocations: 1.514 MB / 1.047 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003497/1.13, allocations: 2.174 MB / 1.05 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.995e-06/1.13, allocations: 4 kB / 1.05 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.004737/1.135, allocations: 2.492 MB / 1.052 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.135, allocations: 42.14 kB / 1.052 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/1.135, allocations: 24 kB / 1.052 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.135, allocations: 32 kB / 1.052 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/1.136, allocations: 474.2 kB / 1.052 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/1.137, allocations: 44.89 kB / 1.053 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00255/1.139, allocations: 414.8 kB / 1.053 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/1.139, allocations: 87.97 kB / 1.053 GB, free: 20 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * 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 (218): * Single equations (assignments): 215 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * 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.0003415/1.14, allocations: 303.8 kB / 1.053 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003075/1.14, allocations: 264.7 kB / 1.054 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003449/1.143, allocations: 1.675 MB / 1.055 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.143, allocations: 15.94 kB / 1.055 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.143, allocations: 0 / 1.055 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002633/1.146, allocations: 1.308 MB / 1.056 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007008/1.153, allocations: 4.351 MB / 1.061 GB, free: 7.992 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/1.153, allocations: 4 kB / 1.061 GB, free: 7.988 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/1.154, allocations: 244.6 kB / 1.061 GB, free: 7.762 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002711/1.155, allocations: 52.83 kB / 1.061 GB, free: 7.707 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.032e-05/1.155, allocations: 39.92 kB / 1.061 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/1.156, allocations: 1.536 MB / 1.063 GB, free: 5.996 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.273e-06/1.156, allocations: 11.09 kB / 1.063 GB, free: 5.988 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004623/1.16, allocations: 2.551 MB / 1.065 GB, free: 3.344 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007208/1.161, allocations: 485.5 kB / 1.066 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/1.161, allocations: 27.98 kB / 1.066 GB, free: 2.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/1.163, allocations: 235.6 kB / 1.066 GB, free: 2.59 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.164, allocations: 95.36 kB / 1.066 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-05/1.164, allocations: 47.98 kB / 1.066 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002341/1.166, allocations: 1.711 MB / 1.068 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.6e-07/1.166, allocations: 0 / 1.068 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003508/1.169, allocations: 1.569 MB / 1.069 GB, free: 15.17 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (105): * Single equations (assignments): 102 * 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.005692/1.175, allocations: 3.429 MB / 1.072 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006484/1.182, allocations: 3.104 MB / 1.075 GB, free: 8.703 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.182, allocations: 4 kB / 1.075 GB, free: 8.699 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.183, allocations: 0.8229 MB / 1.076 GB, free: 7.902 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004511/1.188, allocations: 1.255 MB / 1.078 GB, free: 6.684 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03853/1.226, allocations: 23.78 MB / 1.101 GB, free: 13.02 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/1.228, allocations: 2.126 MB / 1.103 GB, free: 10.86 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003242/1.231, allocations: 0.7713 MB / 1.104 GB, free: 10.08 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.233, allocations: 1.269 MB / 1.105 GB, free: 8.809 MB / 0.795 GB Notification: Performance of SimCode: time 6.71e-07/1.233, allocations: 0 / 1.105 GB, free: 8.809 MB / 0.795 GB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: IDEAS.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).