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.0008884/0.0008883, allocations: 93.5 kB / 16.02 MB, free: 84 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.001066/0.001066, allocations: 181.2 kB / 16.92 MB, free: 6.914 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.408/1.408, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7962/0.7962, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 8 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1704, allocations: 77.53 MB / 0.56 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 1.084/1.255, allocations: 372.8 MB / 0.9241 GB, free: 16.07 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.05186/1.307, allocations: 46.31 MB / 0.9693 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00883/1.315, allocations: 146.9 kB / 0.9694 GB, free: 9.438 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0155/1.331, allocations: 8.112 MB / 0.9773 GB, free: 6.125 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02124/1.352, allocations: 6.87 MB / 0.9841 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009102/1.361, allocations: 3.504 MB / 0.9875 GB, free: 14.48 MB / 0.6544 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.02624/1.388, allocations: 21.37 MB / 1.008 GB, free: 10.74 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008029/1.396, allocations: 4.597 MB / 1.013 GB, free: 6.207 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01433/1.41, allocations: 5.329 MB / 1.018 GB, free: 1.25 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007992/1.418, allocations: 3.531 MB / 1.021 GB, free: 14 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001293/1.419, allocations: 172 kB / 1.022 GB, free: 13.83 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01411/1.433, allocations: 7.054 MB / 1.029 GB, free: 7.504 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002575/1.436, allocations: 1.614 MB / 1.03 GB, free: 5.902 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00453/1.441, allocations: 2.696 MB / 1.033 GB, free: 3.203 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01687/1.457, allocations: 10.18 MB / 1.043 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/1.458, allocations: 0 / 1.043 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.395e-06/1.458, allocations: 0 / 1.043 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0002322/1.458, allocations: 0 / 1.043 GB, free: 9.477 MB / 0.7012 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.01107/1.469, allocations: 5.383 MB / 1.048 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/1.469, allocations: 8.031 kB / 1.048 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0124/1.481, allocations: 2.135 MB / 1.05 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/1.494, allocations: 5.622 MB / 1.056 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001554/1.496, allocations: 0.6416 MB / 1.056 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001085/1.497, allocations: 345.3 kB / 1.056 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009654/1.506, allocations: 4.588 MB / 1.061 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-05/1.506, allocations: 7.891 kB / 1.061 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003788/1.507, allocations: 143.9 kB / 1.061 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001323/1.507, allocations: 138.5 kB / 1.061 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/1.517, allocations: 4.128 MB / 1.065 GB, free: 2.191 MB / 0.7169 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.03344/1.551, allocations: 19.36 MB / 1.084 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004174/1.555, allocations: 1.823 MB / 1.086 GB, free: 11.74 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00222/1.557, allocations: 0.9372 MB / 1.087 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/1.558, allocations: 419.8 kB / 1.087 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002545/1.56, allocations: 1.093 MB / 1.088 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00213/1.563, allocations: 177.7 kB / 1.089 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=131): time 4.559e-06/1.563, allocations: 0 / 1.089 GB, free: 9.031 MB / 0.7481 GB Notification: Performance of matching and sorting (n=131): time 0.00836/1.571, allocations: 2.988 MB / 1.091 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.376e-05/1.571, allocations: 145.8 kB / 1.092 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008046/1.579, allocations: 4.544 MB / 1.096 GB, free: 1.309 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0003882/1.58, allocations: 57.7 kB / 1.096 GB, free: 1.246 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002557/1.582, allocations: 2.433 MB / 1.098 GB, free: 14.81 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005914/1.583, allocations: 481.6 kB / 1.099 GB, free: 14.35 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004423/1.583, allocations: 324.6 kB / 1.099 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001342/1.583, allocations: 305.1 kB / 1.099 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003377/1.587, allocations: 1.407 MB / 1.101 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004243/1.591, allocations: 2.564 MB / 1.103 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00684/1.598, allocations: 3.757 MB / 1.107 GB, free: 5.035 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.588e-05/1.598, allocations: 15.94 kB / 1.107 GB, free: 5.02 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424) (initialization): time 0.009944/1.608, allocations: 4.353 MB / 1.111 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.3407/1.949, allocations: 1.101 MB / 1.112 GB, free: 341.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.267e-05/1.949, allocations: 32.91 kB / 1.112 GB, free: 341.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.779e-05/1.949, allocations: 52.77 kB / 1.112 GB, free: 341.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003543/1.952, allocations: 0.7487 MB / 1.113 GB, free: 341.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.395e-05/1.952, allocations: 70.73 kB / 1.113 GB, free: 341.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006119/1.959, allocations: 0.6575 MB / 1.114 GB, free: 341.1 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/1.959, allocations: 144.2 kB / 1.114 GB, free: 341.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/1.959, allocations: 5.719 kB / 1.114 GB, free: 341.1 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00902/1.968, allocations: 3.956 MB / 1.118 GB, free: 340.9 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.451e-05/1.968, allocations: 33.48 kB / 1.118 GB, free: 340.9 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.679e-05/1.968, allocations: 54.75 kB / 1.118 GB, free: 340.9 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/1.971, allocations: 0.744 MB / 1.119 GB, free: 340.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.956e-05/1.971, allocations: 67.34 kB / 1.119 GB, free: 340.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/1.976, allocations: 0.5565 MB / 1.119 GB, free: 340.8 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/1.976, allocations: 143.1 kB / 1.119 GB, free: 340.8 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.002663/1.979, allocations: 1.398 MB / 1.121 GB, free: 340.4 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008774/1.98, allocations: 435.8 kB / 1.121 GB, free: 340.4 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00599/1.986, allocations: 2.367 MB / 1.124 GB, free: 339.6 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/1.986, allocations: 13.7 kB / 1.124 GB, free: 339.6 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.986, allocations: 1.594 kB / 1.124 GB, free: 339.6 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004263/1.99, allocations: 1.979 MB / 1.126 GB, free: 338.7 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.01726/2.007, allocations: 6.941 MB / 1.132 GB, free: 335.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/2.007, allocations: 12.06 kB / 1.132 GB, free: 335.6 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/2.009, allocations: 345.5 kB / 1.133 GB, free: 335.6 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/2.009, allocations: 55.48 kB / 1.133 GB, free: 335.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/2.009, allocations: 46.75 kB / 1.133 GB, free: 335.6 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/2.01, allocations: 1.439 MB / 1.134 GB, free: 334.2 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/2.01, allocations: 17.16 kB / 1.134 GB, free: 334.2 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007661/2.018, allocations: 3.469 MB / 1.138 GB, free: 332.8 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/2.02, allocations: 0.7129 MB / 1.138 GB, free: 332.4 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005644/2.021, allocations: 39.7 kB / 1.138 GB, free: 332.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002954/2.023, allocations: 346.7 kB / 1.139 GB, free: 332.3 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/2.024, allocations: 123.5 kB / 1.139 GB, free: 332.3 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/2.024, allocations: 69.52 kB / 1.139 GB, free: 332.3 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.004619/2.028, allocations: 3.043 MB / 1.142 GB, free: 331.2 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/2.028, allocations: 0 / 1.142 GB, free: 331.2 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00612/2.035, allocations: 2.327 MB / 1.144 GB, free: 330.9 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.001294/2.036, allocations: 0.6356 MB / 1.145 GB, free: 330.8 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.009546/2.045, allocations: 4.986 MB / 1.15 GB, free: 329.2 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/2.046, allocations: 6.469 kB / 1.15 GB, free: 329.2 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002426/2.048, allocations: 1.097 MB / 1.151 GB, free: 328.8 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0175/2.065, allocations: 1.995 MB / 1.153 GB, free: 328.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/2.084, allocations: 10.82 MB / 1.163 GB, free: 321.7 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/2.086, allocations: 3.027 MB / 1.166 GB, free: 318.7 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005432/2.092, allocations: 1.297 MB / 1.167 GB, free: 317.4 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008488/2.092, allocations: 300.9 kB / 1.168 GB, free: 317.2 MB / 0.7637 GB Notification: Performance of SimCode: time 1.243e-06/2.092, allocations: 4 kB / 1.168 GB, free: 317.2 MB / 0.7637 GB Notification: Performance of Templates: time 0.1004/2.193, allocations: 74.25 MB / 1.24 GB, free: 243.7 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)