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.001027/0.001027, allocations: 108 kB / 15.6 MB, free: 132 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.0009698/0.0009698, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.24/1.24, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8539/0.8539, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.75 kB / 0.5054 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1202, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.7663/0.8865, allocations: 342.4 MB / 0.9188 GB, free: 16.65 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03601/0.9226, allocations: 36.53 MB / 0.9545 GB, free: 16.16 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003506/0.9261, allocations: 136.7 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.004247/0.9304, allocations: 2.339 MB / 0.9569 GB, free: 16.11 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01094/0.9413, allocations: 5.759 MB / 0.9625 GB, free: 15.83 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005634/0.947, allocations: 3.022 MB / 0.9655 GB, free: 15.54 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006833/0.9538, allocations: 8.555 MB / 0.9738 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003659/0.9575, allocations: 4.184 MB / 0.9779 GB, free: 11.27 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006849/0.9644, allocations: 4.916 MB / 0.9827 GB, free: 9.121 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002938/0.9673, allocations: 2.708 MB / 0.9854 GB, free: 7.773 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004196/0.9677, allocations: 374.3 kB / 0.9857 GB, free: 7.41 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007333/0.9751, allocations: 5.124 MB / 0.9907 GB, free: 3.215 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007876/0.9759, allocations: 1.26 MB / 0.992 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.9774, allocations: 2.079 MB / 0.994 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007302/0.9847, allocations: 7.041 MB / 1.001 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9848, allocations: 0 / 1.001 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.001e-06/0.9848, allocations: 0 / 1.001 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.287e-05/0.9848, allocations: 0 / 1.001 GB, free: 9.227 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.006641/0.9915, allocations: 4.38 MB / 1.005 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.9915, allocations: 12.03 kB / 1.005 GB, free: 4.812 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004171/0.9919, allocations: 362.4 kB / 1.006 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007534/0.9995, allocations: 1.375 MB / 1.007 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/1.004, allocations: 2.731 MB / 1.01 GB, free: 404 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001053/1.005, allocations: 454.7 kB / 1.01 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/1.005, allocations: 258.3 kB / 1.01 GB, free: 15.68 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005592/1.011, allocations: 3.365 MB / 1.013 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.768e-05/1.011, allocations: 3.562 kB / 1.013 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000239/1.011, allocations: 104 kB / 1.014 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-05/1.011, allocations: 104.9 kB / 1.014 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006261/1.018, allocations: 2.974 MB / 1.017 GB, free: 9.043 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.01772/1.035, allocations: 14.38 MB / 1.031 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003284/1.039, allocations: 1.569 MB / 1.032 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/1.04, allocations: 0.6869 MB / 1.033 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003571/1.041, allocations: 310.5 kB / 1.033 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001682/1.042, allocations: 0.8253 MB / 1.034 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=104): time 2.594e-06/1.042, allocations: 0 / 1.034 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=104): time 0.005343/1.048, allocations: 2.146 MB / 1.036 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/1.048, allocations: 119.8 kB / 1.036 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/1.051, allocations: 2.626 MB / 1.039 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.051, allocations: 57.7 kB / 1.039 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/1.052, allocations: 1.585 MB / 1.04 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/1.053, allocations: 367.3 kB / 1.041 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005176/1.053, allocations: 375.1 kB / 1.041 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 7.182e-05/1.053, allocations: 301.1 kB / 1.041 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002026/1.055, allocations: 0.7855 MB / 1.042 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/1.058, allocations: 1.533 MB / 1.044 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/1.062, allocations: 2.198 MB / 1.046 GB, free: 9.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/1.062, allocations: 4 kB / 1.046 GB, free: 9.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.005286/1.067, allocations: 2.508 MB / 1.048 GB, free: 7.258 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/1.067, allocations: 41.7 kB / 1.048 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/1.067, allocations: 20.62 kB / 1.048 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.904e-05/1.067, allocations: 36 kB / 1.048 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.069, allocations: 486.5 kB / 1.049 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.652e-05/1.069, allocations: 45.17 kB / 1.049 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/1.071, allocations: 392.3 kB / 1.049 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/1.072, allocations: 91.97 kB / 1.049 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002786/1.074, allocations: 1.46 MB / 1.051 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002425/1.077, allocations: 1.522 MB / 1.052 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003816/1.081, allocations: 2.17 MB / 1.054 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.034e-05/1.081, allocations: 8 kB / 1.054 GB, free: 496 kB / 0.7325 GB Notification: Performance of matching and sorting (n=219) (initialization_lambda0): time 0.005199/1.086, allocations: 2.472 MB / 1.057 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/1.086, allocations: 41.7 kB / 1.057 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.589e-05/1.086, allocations: 24 kB / 1.057 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/1.086, allocations: 28.62 kB / 1.057 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/1.088, allocations: 479.6 kB / 1.057 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-05/1.088, allocations: 55.02 kB / 1.057 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/1.09, allocations: 336.5 kB / 1.058 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/1.091, allocations: 99.95 kB / 1.058 GB, free: 13.12 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.0003044/1.091, allocations: 305.4 kB / 1.058 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003455/1.091, allocations: 272.5 kB / 1.058 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003671/1.095, allocations: 1.66 MB / 1.06 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/1.095, allocations: 8 kB / 1.06 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.095, allocations: 3.984 kB / 1.06 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002891/1.098, allocations: 1.295 MB / 1.061 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006876/1.105, allocations: 4.301 MB / 1.065 GB, free: 5.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.105, allocations: 11.98 kB / 1.065 GB, free: 5.148 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/1.106, allocations: 244.6 kB / 1.066 GB, free: 4.922 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001869/1.106, allocations: 52.81 kB / 1.066 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.453e-05/1.106, allocations: 35.98 kB / 1.066 GB, free: 4.832 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/1.107, allocations: 1.531 MB / 1.067 GB, free: 3.168 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.107, allocations: 8 kB / 1.067 GB, free: 3.16 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004853/1.112, allocations: 2.529 MB / 1.07 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/1.113, allocations: 0.4934 MB / 1.07 GB, free: 28 kB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003177/1.113, allocations: 31.98 kB / 1.07 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/1.115, allocations: 143.8 kB / 1.07 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/1.115, allocations: 81.66 kB / 1.07 GB, free: 15.78 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.115, allocations: 51.97 kB / 1.07 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.002523/1.118, allocations: 1.798 MB / 1.072 GB, free: 13.94 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.11e-07/1.118, allocations: 3.938 kB / 1.072 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00301/1.121, allocations: 1.529 MB / 1.074 GB, free: 12.4 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.005864/1.127, allocations: 3.4 MB / 1.077 GB, free: 8.945 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006718/1.134, allocations: 3.082 MB / 1.08 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.134, allocations: 3.656 kB / 1.08 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.135, allocations: 0.81 MB / 1.081 GB, free: 5.203 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004928/1.14, allocations: 1.292 MB / 1.082 GB, free: 3.941 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03269/1.173, allocations: 23.21 MB / 1.105 GB, free: 10.83 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/1.175, allocations: 2.127 MB / 1.107 GB, free: 8.676 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.003052/1.178, allocations: 0.7796 MB / 1.108 GB, free: 7.891 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/1.179, allocations: 1.257 MB / 1.109 GB, free: 6.633 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/1.179, allocations: 0 / 1.109 GB, free: 6.633 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).