Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust") translateModel(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001081/0.001081, allocations: 98.66 kB / 16.02 MB, free: 80 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.001595/0.001596, allocations: 179.3 kB / 16.92 MB, free: 6.922 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7281/0.7281, allocations: 123 MB / 415.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 9.062 kB / 0.4933 GB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4684/0.4687, allocations: 79.28 MB / 0.5707 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7222/1.191, allocations: 372.8 MB / 0.9348 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05455/1.246, allocations: 46.33 MB / 0.9801 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008303/1.254, allocations: 150.2 kB / 0.9802 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01771/1.272, allocations: 8.106 MB / 0.9881 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02218/1.294, allocations: 6.87 MB / 0.9949 GB, free: 11.18 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009885/1.304, allocations: 3.507 MB / 0.9983 GB, free: 8.059 MB / 0.67 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.108}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0108}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.02828/1.332, allocations: 21.38 MB / 1.019 GB, free: 3.477 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00798/1.34, allocations: 4.603 MB / 1.024 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01371/1.354, allocations: 5.321 MB / 1.029 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007894/1.362, allocations: 3.54 MB / 1.032 GB, free: 6.652 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001317/1.363, allocations: 172 kB / 1.032 GB, free: 6.484 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01634/1.379, allocations: 7.04 MB / 1.039 GB, free: 168 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.003332/1.383, allocations: 1.617 MB / 1.041 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005016/1.388, allocations: 2.698 MB / 1.044 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01654/1.404, allocations: 10.18 MB / 1.054 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.404, allocations: 0 / 1.054 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.174e-06/1.404, allocations: 0 / 1.054 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002687/1.405, allocations: 4 kB / 1.054 GB, free: 2.125 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: 864 * Number of variables: 864 Notification: Performance of Generate backend data structure: time 0.01136/1.416, allocations: 5.38 MB / 1.059 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.416, allocations: 8.031 kB / 1.059 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/1.429, allocations: 2.131 MB / 1.061 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/1.439, allocations: 5.631 MB / 1.066 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001722/1.441, allocations: 0.6416 MB / 1.067 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/1.442, allocations: 344 kB / 1.067 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/1.453, allocations: 4.582 MB / 1.072 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/1.453, allocations: 3.938 kB / 1.072 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003596/1.453, allocations: 138.6 kB / 1.072 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001434/1.453, allocations: 142.4 kB / 1.072 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/1.464, allocations: 4.132 MB / 1.076 GB, free: 10.84 MB / 0.7481 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.03133/1.495, allocations: 19.37 MB / 1.095 GB, free: 6.254 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004379/1.499, allocations: 1.818 MB / 1.097 GB, free: 4.391 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/1.502, allocations: 0.9412 MB / 1.098 GB, free: 3.453 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/1.503, allocations: 411.8 kB / 1.098 GB, free: 2.984 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002632/1.505, allocations: 1.1 MB / 1.099 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001803/1.507, allocations: 165.9 kB / 1.099 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=131): time 3.838e-06/1.507, allocations: 3.938 kB / 1.099 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of matching and sorting (n=131): time 0.3261/1.833, allocations: 2.989 MB / 1.102 GB, free: 336.6 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/1.833, allocations: 146.3 kB / 1.102 GB, free: 336.4 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009/1.842, allocations: 4.538 MB / 1.107 GB, free: 335.4 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0004011/1.843, allocations: 61.56 kB / 1.107 GB, free: 335.4 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.002157/1.845, allocations: 2.429 MB / 1.109 GB, free: 333.9 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005723/1.845, allocations: 479.5 kB / 1.11 GB, free: 333.6 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/1.846, allocations: 323.6 kB / 1.11 GB, free: 333.4 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 4.831e-05/1.846, allocations: 305.6 kB / 1.11 GB, free: 333.1 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003773/1.85, allocations: 1.409 MB / 1.112 GB, free: 332.7 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004547/1.854, allocations: 2.562 MB / 1.114 GB, free: 330.9 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006944/1.861, allocations: 3.764 MB / 1.118 GB, free: 328.6 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.204e-05/1.861, allocations: 10.66 kB / 1.118 GB, free: 328.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009873/1.871, allocations: 4.356 MB / 1.122 GB, free: 327.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005358/1.872, allocations: 1.097 MB / 1.123 GB, free: 325.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-05/1.872, allocations: 32.56 kB / 1.123 GB, free: 325.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.908e-05/1.872, allocations: 50 kB / 1.123 GB, free: 325.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/1.875, allocations: 0.7444 MB / 1.124 GB, free: 325.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.348e-05/1.875, allocations: 71.78 kB / 1.124 GB, free: 325.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005559/1.881, allocations: 0.6783 MB / 1.125 GB, free: 325.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/1.881, allocations: 141.3 kB / 1.125 GB, free: 325.4 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/1.881, allocations: 4.281 kB / 1.125 GB, free: 325.4 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008746/1.89, allocations: 3.959 MB / 1.129 GB, free: 324.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.008e-05/1.89, allocations: 35.88 kB / 1.129 GB, free: 324.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.828e-05/1.89, allocations: 48.59 kB / 1.129 GB, free: 324.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.894, allocations: 0.741 MB / 1.13 GB, free: 324 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.404e-05/1.894, allocations: 79.28 kB / 1.13 GB, free: 324 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005685/1.899, allocations: 0.5557 MB / 1.13 GB, free: 323.9 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004029/1.9, allocations: 139.6 kB / 1.13 GB, free: 323.9 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * 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 (356): * Single equations (assignments): 350 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 2 * 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/1.903, allocations: 1.401 MB / 1.132 GB, free: 323.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009165/1.904, allocations: 427.8 kB / 1.132 GB, free: 322.9 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005387/1.909, allocations: 2.384 MB / 1.134 GB, free: 322.1 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.909, allocations: 11.91 kB / 1.134 GB, free: 322.1 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/1.909, allocations: 0 / 1.134 GB, free: 322.1 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003961/1.913, allocations: 1.972 MB / 1.136 GB, free: 321.2 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.01294/1.926, allocations: 6.939 MB / 1.143 GB, free: 318 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/1.926, allocations: 11.91 kB / 1.143 GB, free: 318 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/1.928, allocations: 338.3 kB / 1.143 GB, free: 318 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002661/1.928, allocations: 62.02 kB / 1.143 GB, free: 318 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/1.928, allocations: 48.77 kB / 1.144 GB, free: 318 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001141/1.93, allocations: 1.442 MB / 1.145 GB, free: 316.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.96e-05/1.93, allocations: 19.31 kB / 1.145 GB, free: 316.6 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007527/1.937, allocations: 3.469 MB / 1.148 GB, free: 314.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00188/1.939, allocations: 0.704 MB / 1.149 GB, free: 314.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006446/1.94, allocations: 43.27 kB / 1.149 GB, free: 314.2 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/1.943, allocations: 347.9 kB / 1.149 GB, free: 314.1 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/1.943, allocations: 118.6 kB / 1.15 GB, free: 314 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.943, allocations: 72.48 kB / 1.15 GB, free: 314 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004172/1.947, allocations: 3.034 MB / 1.153 GB, free: 312.4 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.3e-07/1.947, allocations: 0 / 1.153 GB, free: 312.4 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.006182/1.953, allocations: 2.33 MB / 1.155 GB, free: 310.7 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 4 (conPI.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (129): * Single equations (assignments): 126 * 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.001256/1.955, allocations: 0.6495 MB / 1.155 GB, free: 310.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.01/1.965, allocations: 4.989 MB / 1.16 GB, free: 305.1 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.965, allocations: 0 / 1.16 GB, free: 305.1 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002545/1.967, allocations: 1.093 MB / 1.161 GB, free: 304.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01767/1.985, allocations: 1.987 MB / 1.163 GB, free: 302.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01784/2.003, allocations: 10.83 MB / 1.174 GB, free: 291.2 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002323/2.005, allocations: 3.011 MB / 1.177 GB, free: 288.1 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005424/2.011, allocations: 1.304 MB / 1.178 GB, free: 286.9 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008419/2.012, allocations: 311.9 kB / 1.178 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of SimCode: time 1.122e-06/2.012, allocations: 0 / 1.178 GB, free: 286.6 MB / 0.7637 GB Notification: Performance of Templates: time 0.09974/2.111, allocations: 74.26 MB / 1.251 GB, free: 213.2 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust.pipe 2>&1)