Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009816/0.0009815, allocations: 99.78 kB / 15.05 MB, free: 1.105 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.001162/0.001162, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.433/1.433, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000494/0.0004941, allocations: 14.28 kB / 0.6735 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2749, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.8095/1.085, allocations: 305.6 MB / 1.086 GB, free: 6.629 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.06117/1.146, allocations: 41.98 MB / 1.127 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008626/1.154, allocations: 131.1 kB / 1.127 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01034/1.165, allocations: 2.364 MB / 1.129 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.02832/1.193, allocations: 6.837 MB / 1.136 GB, free: 3.215 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01607/1.209, allocations: 4.585 MB / 1.14 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01564/1.225, allocations: 6.682 MB / 1.147 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007375/1.232, allocations: 4.004 MB / 1.151 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/1.245, allocations: 4.248 MB / 1.155 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005697/1.251, allocations: 2.236 MB / 1.157 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/1.252, allocations: 168 kB / 1.157 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009592/1.261, allocations: 2.91 MB / 1.16 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001983/1.263, allocations: 1.219 MB / 1.161 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002643/1.266, allocations: 0.9991 MB / 1.162 GB, free: 8.117 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/1.277, allocations: 6.301 MB / 1.168 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.277, allocations: 0 / 1.168 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.186e-06/1.277, allocations: 0 / 1.168 GB, free: 1.801 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.000265/1.278, allocations: 0 / 1.168 GB, free: 1.801 MB / 0.8731 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.0121/1.29, allocations: 4.658 MB / 1.173 GB, free: 13.05 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/1.29, allocations: 15.98 kB / 1.173 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/1.301, allocations: 1.918 MB / 1.175 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/1.312, allocations: 3.448 MB / 1.178 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001932/1.314, allocations: 0.6931 MB / 1.179 GB, free: 6.887 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001583/1.315, allocations: 352 kB / 1.179 GB, free: 6.543 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01468/1.33, allocations: 4.554 MB / 1.183 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/1.33, allocations: 3.938 kB / 1.183 GB, free: 1.887 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008979/1.331, allocations: 148 kB / 1.184 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/1.331, allocations: 134.5 kB / 1.184 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01239/1.344, allocations: 4.167 MB / 1.188 GB, free: 13.43 MB / 0.9044 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.03734/1.381, allocations: 18.84 MB / 1.206 GB, free: 9.223 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005106/1.386, allocations: 2.033 MB / 1.208 GB, free: 7.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005176/1.387, allocations: 182.3 kB / 1.208 GB, free: 6.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003196/1.39, allocations: 1.259 MB / 1.21 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002614/1.392, allocations: 185.9 kB / 1.21 GB, free: 5.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=135): time 9.408e-06/1.393, allocations: 0 / 1.21 GB, free: 5.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=135): time 0.009588/1.402, allocations: 3.284 MB / 1.213 GB, free: 2.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/1.402, allocations: 222.6 kB / 1.213 GB, free: 1.895 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008197/1.41, allocations: 3.626 MB / 1.217 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0004034/1.411, allocations: 61.69 kB / 1.217 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.002372/1.413, allocations: 2.009 MB / 1.219 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007054/1.414, allocations: 477.1 kB / 1.219 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/1.414, allocations: 36 kB / 1.219 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002242/1.415, allocations: 373.9 kB / 1.22 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003291/1.418, allocations: 1.14 MB / 1.221 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003887/1.422, allocations: 1.82 MB / 1.223 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003629/1.425, allocations: 1.3 MB / 1.224 GB, free: 6.711 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-05/1.425, allocations: 4 kB / 1.224 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=234) (initialization): time 0.009324/1.435, allocations: 3.255 MB / 1.227 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.004247/1.439, allocations: 7.35 MB / 1.234 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/1.439, allocations: 16 kB / 1.234 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.368e-05/1.439, allocations: 28 kB / 1.234 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003301/1.443, allocations: 0.5812 MB / 1.235 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.063e-05/1.443, allocations: 35.92 kB / 1.235 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/1.448, allocations: 0.6136 MB / 1.235 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005373/1.449, allocations: 103.9 kB / 1.235 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.449, allocations: 4 kB / 1.235 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008418/1.457, allocations: 2.89 MB / 1.238 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-05/1.458, allocations: 20 kB / 1.238 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/1.458, allocations: 28 kB / 1.238 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/1.46, allocations: 0.5816 MB / 1.239 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.585e-05/1.46, allocations: 31.88 kB / 1.239 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004861/1.465, allocations: 0.5388 MB / 1.239 GB, free: 6.188 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003085/1.466, allocations: 99.95 kB / 1.24 GB, free: 6.09 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (230): * Single equations (assignments): 226 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002956/1.469, allocations: 1.117 MB / 1.241 GB, free: 4.961 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001207/1.47, allocations: 367.4 kB / 1.241 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006775/1.477, allocations: 2.499 MB / 1.243 GB, free: 2.07 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/1.477, allocations: 16 kB / 1.243 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.477, allocations: 0 / 1.243 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004241/1.481, allocations: 1.929 MB / 1.245 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01966/1.501, allocations: 7.835 MB / 1.253 GB, free: 7.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/1.501, allocations: 15.95 kB / 1.253 GB, free: 7.898 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002014/1.503, allocations: 376.1 kB / 1.253 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002774/1.503, allocations: 56.83 kB / 1.253 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001871/1.503, allocations: 51.97 kB / 1.253 GB, free: 7.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/1.505, allocations: 1.456 MB / 1.255 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-05/1.505, allocations: 23.88 kB / 1.255 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009866/1.515, allocations: 5.324 MB / 1.26 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002458/1.517, allocations: 0.676 MB / 1.261 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001097/1.518, allocations: 43.94 kB / 1.261 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00438/1.523, allocations: 443.4 kB / 1.261 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004048/1.523, allocations: 124.3 kB / 1.261 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003426/1.523, allocations: 72 kB / 1.261 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.007615/1.531, allocations: 2.509 MB / 1.264 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.4e-07/1.531, allocations: 0 / 1.264 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.008952/1.54, allocations: 2.006 MB / 1.266 GB, free: 9.906 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/1.542, allocations: 0.5009 MB / 1.266 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01105/1.553, allocations: 4.016 MB / 1.27 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.067e-05/1.553, allocations: 4 kB / 1.27 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003366/1.556, allocations: 1.224 MB / 1.271 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01055/1.567, allocations: 1.91 MB / 1.273 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.438/2.005, allocations: 9.287 MB / 1.282 GB, free: 368.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/2.007, allocations: 2.746 MB / 1.285 GB, free: 367.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005587/2.013, allocations: 0.9917 MB / 1.286 GB, free: 367.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/2.014, allocations: 272.2 kB / 1.286 GB, free: 367.7 MB / 0.9825 GB Notification: Performance of SimCode: time 1.614e-06/2.014, allocations: 0 / 1.286 GB, free: 367.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.1125/2.127, allocations: 68.26 MB / 1.353 GB, free: 327.2 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1) Environment - environmentSimulation: