Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001213/0.001219, allocations: 90.67 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.008499/0.008499, allocations: 172.4 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001749, allocations: 254.2 kB / 291.7 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9536/0.9536, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 13.28 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.634/0.7829, allocations: 336.2 MB / 1.013 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5634/1.346, allocations: 38.18 MB / 1.051 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006152/1.352, allocations: 118.7 kB / 1.051 GB, free: 16.62 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.01297/1.365, allocations: 5.206 MB / 1.056 GB, free: 16.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.01694/1.382, allocations: 5.431 MB / 1.061 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.009766/1.392, allocations: 2.779 MB / 1.064 GB, free: 16.46 MB / 0.7481 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‘ Notification: Performance of NFFlatten.flatten: time 0.02217/1.414, allocations: 14.36 MB / 1.078 GB, free: 16.42 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006634/1.421, allocations: 3.452 MB / 1.081 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01267/1.434, allocations: 4.156 MB / 1.085 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01013/1.444, allocations: 2.614 MB / 1.088 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.001523/1.446, allocations: 123.7 kB / 1.088 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01385/1.459, allocations: 5.924 MB / 1.094 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002638/1.462, allocations: 1.113 MB / 1.095 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.004352/1.466, allocations: 1.942 MB / 1.097 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01574/1.482, allocations: 7.607 MB / 1.104 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.482, allocations: 2.531 kB / 1.104 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.244e-06/1.482, allocations: 0 / 1.104 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001973/1.482, allocations: 0 / 1.104 GB, free: 14.59 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 649 * Number of variables: 649 Notification: Performance of Generate backend data structure: time 0.009608/1.492, allocations: 4.007 MB / 1.108 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/1.492, allocations: 13.31 kB / 1.108 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009034/1.501, allocations: 1.58 MB / 1.11 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007395/1.509, allocations: 3.744 MB / 1.113 GB, free: 10 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001088/1.51, allocations: 493.9 kB / 1.114 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005615/1.51, allocations: 261.7 kB / 1.114 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/1.517, allocations: 3.424 MB / 1.117 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.161e-05/1.517, allocations: 7.281 kB / 1.117 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000242/1.517, allocations: 107.2 kB / 1.118 GB, free: 8.836 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/1.517, allocations: 103.3 kB / 1.118 GB, free: 8.824 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006202/1.523, allocations: 3.103 MB / 1.121 GB, free: 8.25 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.01983/1.543, allocations: 14.49 MB / 1.135 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003353/1.546, allocations: 1.621 MB / 1.136 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/1.548, allocations: 0.709 MB / 1.137 GB, free: 14.4 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003749/1.548, allocations: 296.8 kB / 1.137 GB, free: 14.11 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/1.55, allocations: 0.8295 MB / 1.138 GB, free: 13.83 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001349/1.551, allocations: 117.9 kB / 1.138 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=105): time 2.705e-06/1.551, allocations: 0 / 1.138 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of matching and sorting (n=105): time 0.005468/1.557, allocations: 2.228 MB / 1.14 GB, free: 13.14 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.217e-05/1.557, allocations: 119.2 kB / 1.141 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004464/1.561, allocations: 3.089 MB / 1.144 GB, free: 11.17 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001519/1.562, allocations: 53.14 kB / 1.144 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001427/1.563, allocations: 1.731 MB / 1.145 GB, free: 10.1 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003371/1.563, allocations: 381.3 kB / 1.146 GB, free: 9.785 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/1.564, allocations: 210.2 kB / 1.146 GB, free: 9.652 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/1.564, allocations: 301.1 kB / 1.146 GB, free: 9.355 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002228/1.566, allocations: 0.9645 MB / 1.147 GB, free: 8.668 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002737/1.569, allocations: 1.736 MB / 1.149 GB, free: 6.945 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/1.573, allocations: 2.546 MB / 1.151 GB, free: 4.82 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.48e-05/1.573, allocations: 4 kB / 1.151 GB, free: 4.816 MB / 0.7637 GB Notification: Performance of matching and sorting (n=284) (initialization): time 0.007075/1.58, allocations: 2.996 MB / 1.154 GB, free: 2.641 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005378/1.581, allocations: 0.7665 MB / 1.155 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.864e-05/1.581, allocations: 23.98 kB / 1.155 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.706e-05/1.581, allocations: 36 kB / 1.155 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/1.583, allocations: 0.5269 MB / 1.156 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.344e-05/1.583, allocations: 45.73 kB / 1.156 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/1.587, allocations: 494 kB / 1.156 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/1.588, allocations: 106.7 kB / 1.156 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/1.588, allocations: 4 kB / 1.156 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005566/1.593, allocations: 2.696 MB / 1.159 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.941e-05/1.593, allocations: 24.09 kB / 1.159 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/1.593, allocations: 32 kB / 1.159 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/1.595, allocations: 0.5275 MB / 1.159 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.745e-05/1.595, allocations: 44.89 kB / 1.159 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003633/1.599, allocations: 417.2 kB / 1.16 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.599, allocations: 94.11 kB / 1.16 GB, free: 13.69 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (249): * Single equations (assignments): 245 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.002254/1.602, allocations: 1.009 MB / 1.161 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007126/1.602, allocations: 304.1 kB / 1.161 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/1.606, allocations: 1.698 MB / 1.163 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/1.606, allocations: 12 kB / 1.163 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.606, allocations: 0 / 1.163 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002976/1.609, allocations: 1.339 MB / 1.164 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009467/1.619, allocations: 4.717 MB / 1.169 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.619, allocations: 8 kB / 1.169 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/1.62, allocations: 252.7 kB / 1.169 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002291/1.62, allocations: 57.88 kB / 1.169 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/1.621, allocations: 30.81 kB / 1.169 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/1.622, allocations: 1.435 MB / 1.171 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.864e-06/1.622, allocations: 11.19 kB / 1.171 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005483/1.627, allocations: 2.565 MB / 1.173 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.629, allocations: 0.5289 MB / 1.174 GB, free: 2.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003625/1.629, allocations: 28.38 kB / 1.174 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.631, allocations: 262.9 kB / 1.174 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/1.632, allocations: 80.81 kB / 1.174 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.632, allocations: 56.47 kB / 1.174 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003436/1.635, allocations: 2.085 MB / 1.176 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.01e-07/1.635, allocations: 0.6562 kB / 1.176 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.005208/1.64, allocations: 1.737 MB / 1.178 GB, free: 15.27 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (104): * Single equations (assignments): 101 * 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.001371/1.642, allocations: 0.5777 MB / 1.178 GB, free: 14.76 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.008602/1.65, allocations: 3.469 MB / 1.182 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.615e-05/1.65, allocations: 4 kB / 1.182 GB, free: 12.27 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002216/1.653, allocations: 0.8367 MB / 1.182 GB, free: 11.49 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0116/1.664, allocations: 1.387 MB / 1.184 GB, free: 10.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.681, allocations: 7.639 MB / 1.191 GB, free: 2.402 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002543/1.684, allocations: 2.303 MB / 1.194 GB, free: 76 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.004386/1.688, allocations: 0.8912 MB / 1.194 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006759/1.689, allocations: 215.4 kB / 1.195 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of SimCode: time 9.71e-07/1.689, allocations: 3.938 kB / 1.195 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of Templates: time 0.09388/1.783, allocations: 52.84 MB / 1.246 GB, free: 11.04 MB / 0.8575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)