Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001321/0.001321, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.388/1.388, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8476/0.8476, allocations: 132.2 MB / 423.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.91 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3583, allocations: 80.18 MB / 0.5807 GB, free: 27.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6606/1.019, allocations: 342.4 MB / 0.9151 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05208/1.071, allocations: 36.54 MB / 0.9508 GB, free: 8.234 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007706/1.079, allocations: 135.2 kB / 0.9509 GB, free: 8.102 MB / 0.67 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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/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.00798/1.087, allocations: 2.338 MB / 0.9532 GB, free: 5.75 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01852/1.105, allocations: 5.755 MB / 0.9588 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01011/1.116, allocations: 3.021 MB / 0.9618 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01466/1.13, allocations: 8.554 MB / 0.9701 GB, free: 4.406 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008406/1.139, allocations: 4.19 MB / 0.9742 GB, free: 132 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01341/1.152, allocations: 4.912 MB / 0.979 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006674/1.159, allocations: 2.7 MB / 0.9817 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001991/1.161, allocations: 372 kB / 0.982 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/1.173, allocations: 5.133 MB / 0.987 GB, free: 2.996 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002894/1.176, allocations: 1.258 MB / 0.9883 GB, free: 1.734 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006317/1.183, allocations: 2.076 MB / 0.9903 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01587/1.199, allocations: 7.035 MB / 0.9972 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.199, allocations: 0 / 0.9972 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.154e-06/1.199, allocations: 0 / 0.9972 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002243/1.199, allocations: 0 / 0.9972 GB, free: 8.594 MB / 0.7169 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.01209/1.211, allocations: 4.379 MB / 1.001 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.211, allocations: 8.031 kB / 1.001 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008918/1.22, allocations: 1.385 MB / 1.003 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007674/1.228, allocations: 2.716 MB / 1.005 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001324/1.229, allocations: 457.9 kB / 1.006 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009328/1.23, allocations: 260 kB / 1.006 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008663/1.239, allocations: 3.368 MB / 1.009 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.401e-05/1.239, allocations: 0 / 1.009 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/1.239, allocations: 107.9 kB / 1.01 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001107/1.239, allocations: 108.8 kB / 1.01 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007736/1.247, allocations: 2.978 MB / 1.013 GB, free: 8.535 MB / 0.7325 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.0264/1.274, allocations: 14.38 MB / 1.027 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003738/1.277, allocations: 1.575 MB / 1.028 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/1.279, allocations: 0.6799 MB / 1.029 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004846/1.28, allocations: 308.3 kB / 1.029 GB, free: 6.41 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001986/1.282, allocations: 0.8099 MB / 1.03 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=104): time 5.009e-06/1.282, allocations: 7.922 kB / 1.03 GB, free: 5.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=104): time 0.006665/1.288, allocations: 2.147 MB / 1.032 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/1.288, allocations: 123.8 kB / 1.032 GB, free: 3.25 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005351/1.294, allocations: 2.63 MB / 1.035 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002806/1.294, allocations: 53.7 kB / 1.035 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.2982/1.592, allocations: 1.578 MB / 1.036 GB, free: 327.6 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005924/1.593, allocations: 372.8 kB / 1.037 GB, free: 327.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007448/1.594, allocations: 369.3 kB / 1.037 GB, free: 327.4 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/1.594, allocations: 302.9 kB / 1.037 GB, free: 327.1 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002462/1.596, allocations: 0.7878 MB / 1.038 GB, free: 327 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/1.599, allocations: 1.526 MB / 1.04 GB, free: 325.9 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/1.603, allocations: 2.198 MB / 1.042 GB, free: 324.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-05/1.604, allocations: 10.72 kB / 1.042 GB, free: 324.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.006939/1.61, allocations: 2.519 MB / 1.044 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.118e-05/1.611, allocations: 40.48 kB / 1.044 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/1.611, allocations: 20.97 kB / 1.044 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.896e-05/1.611, allocations: 31.16 kB / 1.044 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/1.613, allocations: 482.4 kB / 1.045 GB, free: 323.5 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.174e-05/1.613, allocations: 42.97 kB / 1.045 GB, free: 323.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003014/1.616, allocations: 394.8 kB / 1.045 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/1.616, allocations: 99.78 kB / 1.045 GB, free: 323.4 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003354/1.619, allocations: 1.459 MB / 1.047 GB, free: 322.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002426/1.622, allocations: 1.51 MB / 1.048 GB, free: 321.6 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00386/1.626, allocations: 2.172 MB / 1.05 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.594e-05/1.626, allocations: 5.969 kB / 1.05 GB, free: 320.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=219) (initialization_lambda0): time 0.00545/1.631, allocations: 2.475 MB / 1.053 GB, free: 319.4 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/1.631, allocations: 41.58 kB / 1.053 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/1.631, allocations: 27.34 kB / 1.053 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/1.631, allocations: 27.62 kB / 1.053 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001968/1.633, allocations: 477.1 kB / 1.053 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.372e-05/1.633, allocations: 54.91 kB / 1.053 GB, free: 319.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/1.636, allocations: 335.1 kB / 1.054 GB, free: 319.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/1.637, allocations: 86.81 kB / 1.054 GB, free: 319.2 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.0005017/1.637, allocations: 302.8 kB / 1.054 GB, free: 318.9 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/1.638, allocations: 277.7 kB / 1.054 GB, free: 318.8 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/1.641, allocations: 1.664 MB / 1.056 GB, free: 318.1 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.196e-06/1.641, allocations: 11.84 kB / 1.056 GB, free: 318.1 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.641, allocations: 0 / 1.056 GB, free: 318.1 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002639/1.644, allocations: 1.301 MB / 1.057 GB, free: 317.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007722/1.652, allocations: 4.305 MB / 1.061 GB, free: 315 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.652, allocations: 5.75 kB / 1.061 GB, free: 315 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.653, allocations: 244.2 kB / 1.062 GB, free: 314.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/1.653, allocations: 51.33 kB / 1.062 GB, free: 314.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.653, allocations: 34.05 kB / 1.062 GB, free: 314.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009816/1.654, allocations: 1.534 MB / 1.063 GB, free: 313.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/1.654, allocations: 11.41 kB / 1.063 GB, free: 313.3 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004785/1.659, allocations: 2.531 MB / 1.066 GB, free: 311.9 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/1.66, allocations: 0.5084 MB / 1.066 GB, free: 311.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003575/1.661, allocations: 27.66 kB / 1.066 GB, free: 311.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001865/1.663, allocations: 142.3 kB / 1.066 GB, free: 311.4 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/1.663, allocations: 83.31 kB / 1.066 GB, free: 311.4 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.624e-05/1.663, allocations: 51.62 kB / 1.066 GB, free: 311.4 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002711/1.666, allocations: 1.788 MB / 1.068 GB, free: 309.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.666, allocations: 0 / 1.068 GB, free: 309.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004148/1.67, allocations: 1.529 MB / 1.07 GB, free: 308.4 MB / 0.7481 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.0008896/1.671, allocations: 442.1 kB / 1.07 GB, free: 308 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007241/1.678, allocations: 3.082 MB / 1.073 GB, free: 305 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.893e-05/1.678, allocations: 0 / 1.073 GB, free: 305 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/1.68, allocations: 0.7894 MB / 1.074 GB, free: 304.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005978/1.686, allocations: 1.298 MB / 1.075 GB, free: 303.1 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009996/1.696, allocations: 5.789 MB / 1.081 GB, free: 297.2 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/1.697, allocations: 2.107 MB / 1.083 GB, free: 295 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009005/1.698, allocations: 203.4 kB / 1.083 GB, free: 294.8 MB / 0.7481 GB Notification: Performance of SimCode: time 1.052e-06/1.698, allocations: 0 / 1.083 GB, free: 294.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.06479/1.763, allocations: 55.54 MB / 1.137 GB, free: 239.7 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)