Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.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.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009417/0.009417, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7951/0.7951, allocations: 132.3 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 9.125 kB / 0.504 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4786, allocations: 81.58 MB / 0.5837 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8484/1.327, allocations: 372 MB / 0.947 GB, free: 304 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.06814/1.395, allocations: 44.17 MB / 0.9901 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01049/1.406, allocations: 146.9 kB / 0.9903 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.009532/1.415, allocations: 2.381 MB / 0.9926 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02395/1.439, allocations: 6.817 MB / 0.9992 GB, free: 9.266 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01297/1.452, allocations: 3.41 MB / 1.003 GB, free: 6.238 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.02478/1.477, allocations: 15.42 MB / 1.018 GB, free: 7.172 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01058/1.488, allocations: 4.553 MB / 1.022 GB, free: 2.621 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01542/1.503, allocations: 5.4 MB / 1.027 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009522/1.513, allocations: 3.412 MB / 1.031 GB, free: 10.45 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.002129/1.515, allocations: 164 kB / 1.031 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0175/1.533, allocations: 6.818 MB / 1.038 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.004062/1.537, allocations: 1.352 MB / 1.039 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.008668/1.545, allocations: 2.357 MB / 1.041 GB, free: 492 kB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02267/1.568, allocations: 9.175 MB / 1.05 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/1.568, allocations: 0 / 1.05 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.605e-06/1.568, allocations: 0 / 1.05 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0003055/1.568, allocations: 0 / 1.05 GB, free: 7.727 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: 856 * Number of variables: 856 Notification: Performance of Generate backend data structure: time 0.01254/1.581, allocations: 4.695 MB / 1.055 GB, free: 3 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.581, allocations: 11.97 kB / 1.055 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/1.593, allocations: 1.91 MB / 1.057 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009444/1.603, allocations: 3.607 MB / 1.06 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001626/1.604, allocations: 0.6342 MB / 1.061 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/1.605, allocations: 343.7 kB / 1.061 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/1.619, allocations: 4.538 MB / 1.065 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001449/1.619, allocations: 7.938 kB / 1.065 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009864/1.62, allocations: 139.8 kB / 1.066 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001885/1.62, allocations: 134.5 kB / 1.066 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/1.633, allocations: 4.058 MB / 1.07 GB, free: 3.527 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.04603/1.679, allocations: 18.64 MB / 1.088 GB, free: 15.7 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008153/1.687, allocations: 1.813 MB / 1.09 GB, free: 13.84 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004065/1.691, allocations: 0.9255 MB / 1.091 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009574/1.692, allocations: 413.4 kB / 1.091 GB, free: 12.44 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003931/1.696, allocations: 1.104 MB / 1.092 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002386/1.698, allocations: 154.2 kB / 1.092 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=133): time 5.239e-06/1.698, allocations: 0 / 1.092 GB, free: 11.16 MB / 0.7637 GB Notification: Performance of matching and sorting (n=133): time 0.01249/1.711, allocations: 2.901 MB / 1.095 GB, free: 8.23 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/1.711, allocations: 156.3 kB / 1.095 GB, free: 8.047 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009095/1.72, allocations: 3.382 MB / 1.098 GB, free: 4.645 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004621/1.721, allocations: 57.7 kB / 1.099 GB, free: 4.582 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.003288/1.724, allocations: 2.152 MB / 1.101 GB, free: 2.418 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009761/1.725, allocations: 475.6 kB / 1.101 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/1.726, allocations: 202.2 kB / 1.101 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.726, allocations: 305.1 kB / 1.102 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/1.73, allocations: 1.055 MB / 1.103 GB, free: 408 kB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.365/2.095, allocations: 2.117 MB / 1.105 GB, free: 329.3 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006048/2.101, allocations: 3.098 MB / 1.108 GB, free: 328 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.642e-05/2.102, allocations: 8 kB / 1.108 GB, free: 328 MB / 0.7637 GB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008398/2.11, allocations: 3.413 MB / 1.111 GB, free: 327 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005587/2.111, allocations: 1.044 MB / 1.112 GB, free: 325.7 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/2.111, allocations: 31.19 kB / 1.112 GB, free: 325.7 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.56e-05/2.111, allocations: 44.88 kB / 1.112 GB, free: 325.7 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/2.113, allocations: 0.6372 MB / 1.113 GB, free: 325.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.696e-05/2.114, allocations: 69.34 kB / 1.113 GB, free: 325.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004667/2.118, allocations: 0.5901 MB / 1.113 GB, free: 325.6 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/2.119, allocations: 126.2 kB / 1.113 GB, free: 325.5 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/2.119, allocations: 7.031 kB / 1.114 GB, free: 325.5 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007422/2.126, allocations: 3.013 MB / 1.116 GB, free: 324.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-05/2.126, allocations: 31.22 kB / 1.116 GB, free: 324.5 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.026e-05/2.126, allocations: 46.34 kB / 1.117 GB, free: 324.5 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002693/2.129, allocations: 0.6323 MB / 1.117 GB, free: 324.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.922e-05/2.129, allocations: 62.16 kB / 1.117 GB, free: 324.5 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004265/2.133, allocations: 496 kB / 1.118 GB, free: 324.4 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/2.134, allocations: 124.1 kB / 1.118 GB, free: 324.4 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (291): * Single equations (assignments): 287 * Array equations: 3 * 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.003151/2.137, allocations: 1.18 MB / 1.119 GB, free: 323.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001054/2.138, allocations: 357.1 kB / 1.119 GB, free: 323.8 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005463/2.143, allocations: 2.323 MB / 1.122 GB, free: 323 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/2.143, allocations: 13.31 kB / 1.122 GB, free: 323 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/2.143, allocations: 3.312 kB / 1.122 GB, free: 323 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003863/2.147, allocations: 1.958 MB / 1.123 GB, free: 322.1 MB / 0.7637 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 postOpt removeSimpleEquations (simulation): time 0.01295/2.16, allocations: 6.446 MB / 1.13 GB, free: 319.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/2.16, allocations: 11.91 kB / 1.13 GB, free: 319.2 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/2.162, allocations: 327.7 kB / 1.13 GB, free: 319.2 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002253/2.162, allocations: 55.67 kB / 1.13 GB, free: 319.2 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/2.162, allocations: 43.38 kB / 1.13 GB, free: 319.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009537/2.163, allocations: 1.426 MB / 1.132 GB, free: 317.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/2.163, allocations: 15.81 kB / 1.132 GB, free: 317.8 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006617/2.17, allocations: 3.388 MB / 1.135 GB, free: 316.2 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001739/2.171, allocations: 0.5955 MB / 1.135 GB, free: 315.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005335/2.172, allocations: 38.45 kB / 1.136 GB, free: 315.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002762/2.175, allocations: 361.7 kB / 1.136 GB, free: 315.8 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/2.175, allocations: 122 kB / 1.136 GB, free: 315.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/2.175, allocations: 58.84 kB / 1.136 GB, free: 315.7 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003364/2.179, allocations: 2.293 MB / 1.138 GB, free: 314.5 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.563e-06/2.179, allocations: 3.562 kB / 1.138 GB, free: 314.5 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.005592/2.184, allocations: 2.041 MB / 1.14 GB, free: 314.2 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * 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 (131): * Single equations (assignments): 128 * 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.001196/2.185, allocations: 0.4923 MB / 1.141 GB, free: 314 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009143/2.195, allocations: 3.945 MB / 1.145 GB, free: 312.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/2.195, allocations: 4.906 kB / 1.145 GB, free: 312.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/2.197, allocations: 1.066 MB / 1.146 GB, free: 311.5 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01362/2.211, allocations: 1.613 MB / 1.147 GB, free: 309.9 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01585/2.227, allocations: 9.415 MB / 1.156 GB, free: 300.4 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001984/2.229, allocations: 2.659 MB / 1.159 GB, free: 297.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005084/2.234, allocations: 1.046 MB / 1.16 GB, free: 296.7 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009122/2.235, allocations: 251.4 kB / 1.16 GB, free: 296.4 MB / 0.7637 GB Notification: Performance of SimCode: time 1.543e-06/2.235, allocations: 0 / 1.16 GB, free: 296.4 MB / 0.7637 GB Notification: Performance of Templates: time 0.0914/2.326, allocations: 61.52 MB / 1.22 GB, free: 235.7 MB / 0.7637 GB make -j1 -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)