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.001459/0.001459, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8821/0.8821, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 65.25 kB / 0.5055 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1292, allocations: 80.91 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7905/0.9197, allocations: 342.4 MB / 0.9188 GB, free: 16.65 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03583/0.9556, allocations: 36.54 MB / 0.9545 GB, free: 16.16 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003532/0.9592, allocations: 137.9 kB / 0.9546 GB, free: 16.16 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.004241/0.9635, allocations: 2.333 MB / 0.9569 GB, free: 16.12 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01084/0.9743, allocations: 5.751 MB / 0.9625 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005841/0.9802, allocations: 3.033 MB / 0.9655 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007449/0.9876, allocations: 8.547 MB / 0.9738 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003861/0.9915, allocations: 4.184 MB / 0.9779 GB, free: 11.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00786/0.9994, allocations: 4.922 MB / 0.9827 GB, free: 9.094 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004109/1.003, allocations: 2.712 MB / 0.9854 GB, free: 7.75 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004996/1.004, allocations: 373 kB / 0.9857 GB, free: 7.441 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007856/1.012, allocations: 5.118 MB / 0.9907 GB, free: 3.25 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008615/1.013, allocations: 1.267 MB / 0.992 GB, free: 2.012 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001923/1.015, allocations: 2.074 MB / 0.994 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.008465/1.023, allocations: 7.042 MB / 1.001 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/1.023, allocations: 0 / 1.001 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.052e-06/1.023, allocations: 0 / 1.001 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.857e-05/1.023, allocations: 0 / 1.001 GB, free: 9.258 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.006522/1.03, allocations: 4.387 MB / 1.005 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/1.03, allocations: 8.031 kB / 1.005 GB, free: 4.84 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003906/1.03, allocations: 358.4 kB / 1.006 GB, free: 4.48 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007555/1.038, allocations: 1.374 MB / 1.007 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/1.042, allocations: 2.729 MB / 1.01 GB, free: 436 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/1.043, allocations: 453.4 kB / 1.01 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000345/1.044, allocations: 261.4 kB / 1.01 GB, free: 15.71 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005583/1.049, allocations: 3.363 MB / 1.013 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/1.049, allocations: 6.438 kB / 1.013 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/1.05, allocations: 104 kB / 1.014 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.383e-05/1.05, allocations: 100.9 kB / 1.014 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00621/1.056, allocations: 2.981 MB / 1.017 GB, free: 9.066 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.01771/1.074, allocations: 14.38 MB / 1.031 GB, free: 9.875 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003301/1.077, allocations: 1.577 MB / 1.032 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001448/1.078, allocations: 0.6943 MB / 1.033 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003713/1.079, allocations: 302.8 kB / 1.033 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001655/1.08, allocations: 0.8136 MB / 1.034 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=104): time 2.615e-06/1.08, allocations: 0 / 1.034 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=104): time 0.005277/1.086, allocations: 2.154 MB / 1.036 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/1.086, allocations: 118.9 kB / 1.036 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003244/1.089, allocations: 2.626 MB / 1.039 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.874e-05/1.089, allocations: 53.69 kB / 1.039 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.09, allocations: 1.589 MB / 1.04 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002799/1.09, allocations: 372 kB / 1.041 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005168/1.091, allocations: 371.1 kB / 1.041 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/1.091, allocations: 301.1 kB / 1.041 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001951/1.093, allocations: 0.7816 MB / 1.042 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002442/1.096, allocations: 1.53 MB / 1.044 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003816/1.099, allocations: 2.193 MB / 1.046 GB, free: 9.691 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/1.099, allocations: 8 kB / 1.046 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005113/1.104, allocations: 2.505 MB / 1.048 GB, free: 7.289 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.199e-05/1.105, allocations: 45.69 kB / 1.048 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/1.105, allocations: 20 kB / 1.048 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.27e-05/1.105, allocations: 36.03 kB / 1.048 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/1.107, allocations: 490.9 kB / 1.049 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.426e-05/1.107, allocations: 41.64 kB / 1.049 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/1.109, allocations: 398.2 kB / 1.049 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/1.109, allocations: 87.98 kB / 1.049 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002785/1.112, allocations: 1.46 MB / 1.051 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002385/1.114, allocations: 1.519 MB / 1.052 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003745/1.118, allocations: 2.173 MB / 1.054 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.476e-06/1.118, allocations: 8 kB / 1.054 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=219) (initialization_lambda0): time 0.005123/1.123, allocations: 2.482 MB / 1.057 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/1.123, allocations: 41.7 kB / 1.057 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/1.123, allocations: 20 kB / 1.057 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/1.123, allocations: 32 kB / 1.057 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/1.125, allocations: 483.8 kB / 1.057 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.253e-05/1.125, allocations: 56.55 kB / 1.057 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/1.128, allocations: 334.1 kB / 1.058 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/1.128, allocations: 91.98 kB / 1.058 GB, free: 13.14 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (216): * Single equations (assignments): 213 * 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.0003027/1.128, allocations: 300.7 kB / 1.058 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/1.128, allocations: 276.5 kB / 1.058 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003649/1.132, allocations: 1.656 MB / 1.06 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/1.132, allocations: 12 kB / 1.06 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.132, allocations: 0 / 1.06 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002852/1.135, allocations: 1.3 MB / 1.061 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006811/1.142, allocations: 4.299 MB / 1.065 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/1.142, allocations: 4 kB / 1.065 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.143, allocations: 245.6 kB / 1.066 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/1.143, allocations: 60.86 kB / 1.066 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/1.143, allocations: 27.98 kB / 1.066 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/1.144, allocations: 1.534 MB / 1.067 GB, free: 3.195 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.144, allocations: 14.61 kB / 1.067 GB, free: 3.184 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/1.149, allocations: 2.525 MB / 1.07 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006749/1.15, allocations: 0.4973 MB / 1.07 GB, free: 52 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000289/1.15, allocations: 35.92 kB / 1.07 GB, free: 16 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/1.152, allocations: 131.9 kB / 1.07 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/1.152, allocations: 94.39 kB / 1.07 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.382e-05/1.152, allocations: 51.97 kB / 1.07 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002425/1.155, allocations: 1.791 MB / 1.072 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/1.155, allocations: 0 / 1.072 GB, free: 13.96 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003048/1.158, allocations: 1.531 MB / 1.074 GB, free: 12.43 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (103): * Single equations (assignments): 100 * 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.00574/1.163, allocations: 3.406 MB / 1.077 GB, free: 8.961 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006654/1.17, allocations: 3.074 MB / 1.08 GB, free: 6.023 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.17, allocations: 4 kB / 1.08 GB, free: 6.02 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/1.172, allocations: 0.8156 MB / 1.081 GB, free: 5.223 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/1.177, allocations: 1.291 MB / 1.082 GB, free: 3.965 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/1.209, allocations: 23.21 MB / 1.105 GB, free: 10.85 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001532/1.21, allocations: 2.119 MB / 1.107 GB, free: 8.703 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003105/1.214, allocations: 0.7757 MB / 1.108 GB, free: 7.922 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.215, allocations: 1.261 MB / 1.109 GB, free: 6.66 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/1.215, allocations: 0 / 1.109 GB, free: 6.66 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).