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.001093/0.001093, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001209/0.001209, allocations: 196.9 kB / 16.14 MB, free: 6.688 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.212/1.212, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8321/0.8321, allocations: 135.1 MB / 425.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 61.09 kB / 0.5048 GB, free: 5.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1222, allocations: 80.93 MB / 0.5838 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7379/0.8602, allocations: 340.4 MB / 0.9162 GB, free: 16.52 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03437/0.8946, allocations: 36.76 MB / 0.9521 GB, free: 15.89 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003776/0.8984, allocations: 121.5 kB / 0.9523 GB, free: 15.89 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.004295/0.9027, allocations: 1.989 MB / 0.9542 GB, free: 15.85 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.9142, allocations: 5.383 MB / 0.9595 GB, free: 15.58 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006052/0.9202, allocations: 2.737 MB / 0.9621 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009513/0.9298, allocations: 11.38 MB / 0.9732 GB, free: 13.77 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003728/0.9335, allocations: 3.614 MB / 0.9768 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007292/0.9408, allocations: 4.38 MB / 0.981 GB, free: 9.992 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.9446, allocations: 2.762 MB / 0.9837 GB, free: 7.996 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003741/0.945, allocations: 196 kB / 0.9839 GB, free: 7.805 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008284/0.9533, allocations: 5.782 MB / 0.9896 GB, free: 3.051 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008642/0.9541, allocations: 1.095 MB / 0.9906 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001759/0.9559, allocations: 1.89 MB / 0.9925 GB, free: 120 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.008223/0.9641, allocations: 7.21 MB / 0.9995 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.9642, allocations: 0 / 0.9995 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9642, allocations: 0 / 0.9995 GB, free: 9.352 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.525e-05/0.9642, allocations: 0 / 0.9995 GB, free: 9.352 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.006561/0.9708, allocations: 4.388 MB / 1.004 GB, free: 4.941 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.9708, allocations: 12.03 kB / 1.004 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003839/0.9712, allocations: 365.6 kB / 1.004 GB, free: 4.566 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007655/0.9789, allocations: 1.375 MB / 1.006 GB, free: 3.188 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004498/0.9834, allocations: 2.726 MB / 1.008 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009671/0.9844, allocations: 452.9 kB / 1.009 GB, free: 52 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.9847, allocations: 269 kB / 1.009 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005792/0.9905, allocations: 3.363 MB / 1.012 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.128e-05/0.9906, allocations: 6.719 kB / 1.012 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002316/0.9908, allocations: 106.7 kB / 1.012 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.685e-05/0.9909, allocations: 104.9 kB / 1.012 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006006/0.9969, allocations: 3.001 MB / 1.015 GB, free: 9.121 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.01793/1.015, allocations: 14.06 MB / 1.029 GB, free: 10.27 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00301/1.018, allocations: 1.592 MB / 1.031 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/1.019, allocations: 0.6884 MB / 1.031 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003645/1.02, allocations: 313.7 kB / 1.032 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001596/1.021, allocations: 0.8237 MB / 1.032 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007716/1.022, allocations: 114.6 kB / 1.032 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=106): time 2.334e-06/1.022, allocations: 7.938 kB / 1.032 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=106): time 0.004831/1.027, allocations: 2.147 MB / 1.035 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/1.027, allocations: 126.6 kB / 1.035 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002993/1.03, allocations: 2.513 MB / 1.037 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.792e-05/1.03, allocations: 53.7 kB / 1.037 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001041/1.031, allocations: 1.597 MB / 1.039 GB, free: 136 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/1.031, allocations: 373.9 kB / 1.039 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000518/1.032, allocations: 375.1 kB / 1.039 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/1.032, allocations: 305.1 kB / 1.04 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/1.034, allocations: 0.7894 MB / 1.041 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/1.036, allocations: 1.529 MB / 1.042 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003515/1.04, allocations: 2.22 MB / 1.044 GB, free: 10 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/1.04, allocations: 4 kB / 1.044 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=221) (initialization): time 0.004724/1.044, allocations: 2.51 MB / 1.047 GB, free: 7.602 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.236e-05/1.044, allocations: 41.69 kB / 1.047 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/1.044, allocations: 24 kB / 1.047 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/1.044, allocations: 28 kB / 1.047 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001827/1.046, allocations: 484.1 kB / 1.047 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.267e-05/1.046, allocations: 45.45 kB / 1.047 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002771/1.049, allocations: 435.8 kB / 1.048 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/1.049, allocations: 101.2 kB / 1.048 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002764/1.052, allocations: 1.468 MB / 1.049 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002206/1.054, allocations: 1.515 MB / 1.051 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003439/1.058, allocations: 2.173 MB / 1.053 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-05/1.058, allocations: 8 kB / 1.053 GB, free: 0.7852 MB / 0.7325 GB Notification: Performance of matching and sorting (n=221) (initialization_lambda0): time 0.00528/1.063, allocations: 2.484 MB / 1.055 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.75e-05/1.063, allocations: 41.7 kB / 1.055 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.063, allocations: 23.28 kB / 1.055 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.295e-05/1.063, allocations: 32 kB / 1.055 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/1.065, allocations: 483.1 kB / 1.056 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.171e-05/1.065, allocations: 44.33 kB / 1.056 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002995/1.068, allocations: 410.6 kB / 1.056 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/1.068, allocations: 95.97 kB / 1.056 GB, free: 13.34 MB / 0.7481 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.000403/1.069, allocations: 303.7 kB / 1.057 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/1.069, allocations: 268.7 kB / 1.057 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/1.073, allocations: 1.673 MB / 1.058 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.073, allocations: 19.94 kB / 1.058 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/1.073, allocations: 0 / 1.058 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0026/1.075, allocations: 1.304 MB / 1.06 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007348/1.083, allocations: 4.446 MB / 1.064 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/1.083, allocations: 8 kB / 1.064 GB, free: 5.203 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/1.084, allocations: 241.8 kB / 1.064 GB, free: 4.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001908/1.084, allocations: 60.81 kB / 1.064 GB, free: 4.918 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.908e-05/1.084, allocations: 31.92 kB / 1.064 GB, free: 4.887 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009941/1.085, allocations: 1.424 MB / 1.066 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/1.085, allocations: 10.34 kB / 1.066 GB, free: 3.324 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004393/1.089, allocations: 2.56 MB / 1.068 GB, free: 0.6758 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007296/1.09, allocations: 481.7 kB / 1.069 GB, free: 188 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002828/1.091, allocations: 27.98 kB / 1.069 GB, free: 160 kB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.092, allocations: 239.6 kB / 1.069 GB, free: 15.92 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/1.093, allocations: 89.78 kB / 1.069 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/1.093, allocations: 55.97 kB / 1.069 GB, free: 15.79 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002257/1.095, allocations: 1.703 MB / 1.071 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.4e-07/1.095, allocations: 0 / 1.071 GB, free: 14.08 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003672/1.099, allocations: 1.573 MB / 1.072 GB, free: 12.5 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.005438/1.104, allocations: 3.444 MB / 1.076 GB, free: 9.004 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005895/1.11, allocations: 2.944 MB / 1.079 GB, free: 6.184 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.11, allocations: 8.125 kB / 1.079 GB, free: 6.176 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/1.112, allocations: 0.823 MB / 1.079 GB, free: 5.367 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/1.117, allocations: 1.189 MB / 1.081 GB, free: 4.203 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03771/1.155, allocations: 23.79 MB / 1.104 GB, free: 10.54 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/1.156, allocations: 2.126 MB / 1.106 GB, free: 8.379 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003189/1.159, allocations: 0.7674 MB / 1.107 GB, free: 7.605 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/1.161, allocations: 1.273 MB / 1.108 GB, free: 6.332 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/1.161, allocations: 0 / 1.108 GB, free: 6.332 MB / 0.795 GB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: IDEAS.Fluid.BaseClasses.FlowModels.basicFlowFunction_m_flow(0.0648, 0.002049155923789109, 0.00648).