Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust") translateModel(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001027/0.001027, allocations: 110.4 kB / 17.03 MB, free: 5.699 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.0009629/0.0009629, allocations: 196.1 kB / 17.97 MB, free: 5.078 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.281/1.281, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7033/0.7033, allocations: 115.1 MB / 406.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.89 kB / 494.8 MB, free: 15.81 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3351, allocations: 76.14 MB / 0.5576 GB, free: 36.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6677/1.003, allocations: 342.8 MB / 0.8924 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05324/1.056, allocations: 38.38 MB / 0.9298 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007047/1.063, allocations: 143.1 kB / 0.93 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01231/1.076, allocations: 5.616 MB / 0.9355 GB, free: 2.457 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01809/1.094, allocations: 5.808 MB / 0.9411 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009455/1.103, allocations: 3.071 MB / 0.9441 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01818/1.121, allocations: 11.36 MB / 0.9552 GB, free: 14.19 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006488/1.128, allocations: 4.202 MB / 0.9593 GB, free: 9.906 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01135/1.139, allocations: 4.881 MB / 0.9641 GB, free: 5.008 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006005/1.145, allocations: 2.761 MB / 0.9668 GB, free: 2.25 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001165/1.147, allocations: 376 kB / 0.9672 GB, free: 1.883 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01305/1.16, allocations: 5.301 MB / 0.9723 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003326/1.163, allocations: 1.398 MB / 0.9737 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004063/1.167, allocations: 2.251 MB / 0.9759 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/1.181, allocations: 7.685 MB / 0.9834 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.181, allocations: 0 / 0.9834 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.114e-06/1.181, allocations: 0 / 0.9834 GB, free: 1.199 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001287/1.181, allocations: 4 kB / 0.9834 GB, free: 1.195 MB / 0.6856 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.009093/1.19, allocations: 4.771 MB / 0.9881 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/1.19, allocations: 12.03 kB / 0.9881 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008581/1.199, allocations: 1.482 MB / 0.9895 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007923/1.207, allocations: 3.866 MB / 0.9933 GB, free: 6.895 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002849/1.207, allocations: 290.2 kB / 0.9936 GB, free: 6.59 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000608/1.207, allocations: 259.9 kB / 0.9938 GB, free: 6.336 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00665/1.214, allocations: 3.369 MB / 0.9971 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.643e-05/1.214, allocations: 0 / 0.9971 GB, free: 2.855 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/1.214, allocations: 108 kB / 0.9972 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/1.215, allocations: 108.9 kB / 0.9973 GB, free: 2.641 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006493/1.221, allocations: 2.974 MB / 1 GB, free: 15.65 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.02223/1.243, allocations: 14.56 MB / 1.014 GB, free: 0 / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/1.247, allocations: 1.579 MB / 1.016 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/1.248, allocations: 0.6882 MB / 1.017 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/1.249, allocations: 301 kB / 1.017 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/1.25, allocations: 0.8059 MB / 1.018 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=103): time 2.074e-06/1.25, allocations: 0 / 1.018 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=103): time 0.00558/1.256, allocations: 2.197 MB / 1.02 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/1.256, allocations: 111.8 kB / 1.02 GB, free: 10.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/1.26, allocations: 3.182 MB / 1.023 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001601/1.261, allocations: 49.7 kB / 1.023 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.262, allocations: 1.727 MB / 1.025 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/1.262, allocations: 370.8 kB / 1.025 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006546/1.263, allocations: 479.3 kB / 1.026 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.263, allocations: 301.1 kB / 1.026 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/1.265, allocations: 0.9267 MB / 1.027 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/1.268, allocations: 1.699 MB / 1.028 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2468/1.514, allocations: 2.488 MB / 1.031 GB, free: 318.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/1.514, allocations: 7.031 kB / 1.031 GB, free: 318.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.006168/1.521, allocations: 2.913 MB / 1.034 GB, free: 317.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/1.521, allocations: 40.73 kB / 1.034 GB, free: 317.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/1.521, allocations: 25.17 kB / 1.034 GB, free: 317.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.691e-05/1.521, allocations: 32.53 kB / 1.034 GB, free: 317.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/1.523, allocations: 0.5086 MB / 1.034 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.069e-05/1.523, allocations: 49.8 kB / 1.034 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/1.526, allocations: 384.6 kB / 1.035 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/1.526, allocations: 99.88 kB / 1.035 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003408/1.529, allocations: 1.728 MB / 1.037 GB, free: 316.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002275/1.532, allocations: 1.694 MB / 1.038 GB, free: 315.7 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003643/1.535, allocations: 2.496 MB / 1.041 GB, free: 314.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.35e-05/1.535, allocations: 10.16 kB / 1.041 GB, free: 314.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.005697/1.541, allocations: 2.913 MB / 1.043 GB, free: 313.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/1.541, allocations: 42.14 kB / 1.044 GB, free: 313.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/1.541, allocations: 21.38 kB / 1.044 GB, free: 313.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.86e-05/1.541, allocations: 33.89 kB / 1.044 GB, free: 313.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/1.543, allocations: 0.5028 MB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.725e-05/1.543, allocations: 55.59 kB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/1.546, allocations: 314.8 kB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.546, allocations: 100.9 kB / 1.045 GB, free: 313.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (247): * Single equations (assignments): 243 * 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.0004701/1.547, allocations: 315.8 kB / 1.045 GB, free: 312.8 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004448/1.547, allocations: 310 kB / 1.045 GB, free: 312.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00373/1.551, allocations: 1.675 MB / 1.047 GB, free: 312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.551, allocations: 10.19 kB / 1.047 GB, free: 312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.551, allocations: 0 / 1.047 GB, free: 312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002626/1.554, allocations: 1.298 MB / 1.048 GB, free: 311.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008101/1.562, allocations: 4.568 MB / 1.053 GB, free: 309.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/1.562, allocations: 10 kB / 1.053 GB, free: 309.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/1.563, allocations: 240.6 kB / 1.053 GB, free: 309.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/1.563, allocations: 58.31 kB / 1.053 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/1.563, allocations: 29.52 kB / 1.053 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009151/1.564, allocations: 1.539 MB / 1.054 GB, free: 307.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/1.564, allocations: 11.75 kB / 1.054 GB, free: 307.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004945/1.569, allocations: 2.514 MB / 1.057 GB, free: 306.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/1.571, allocations: 0.5498 MB / 1.057 GB, free: 306.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003414/1.571, allocations: 27.88 kB / 1.057 GB, free: 306.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.573, allocations: 140.6 kB / 1.057 GB, free: 306.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/1.573, allocations: 89.98 kB / 1.058 GB, free: 306.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/1.573, allocations: 50.56 kB / 1.058 GB, free: 306.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003199/1.576, allocations: 2.139 MB / 1.06 GB, free: 305.6 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.81e-07/1.576, allocations: 0 / 1.06 GB, free: 305.6 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004449/1.581, allocations: 1.692 MB / 1.061 GB, free: 305.3 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (102): * Single equations (assignments): 99 * 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.001102/1.582, allocations: 0.5698 MB / 1.062 GB, free: 305.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006089/1.588, allocations: 3.393 MB / 1.065 GB, free: 304 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.588, allocations: 0 / 1.065 GB, free: 304 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001574/1.589, allocations: 0.8183 MB / 1.066 GB, free: 303.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005465/1.595, allocations: 1.495 MB / 1.067 GB, free: 303.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/1.605, allocations: 6.199 MB / 1.074 GB, free: 300.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/1.607, allocations: 2.306 MB / 1.076 GB, free: 299.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003249/1.61, allocations: 0.8935 MB / 1.077 GB, free: 299.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005699/1.611, allocations: 220.2 kB / 1.077 GB, free: 299.2 MB / 0.7325 GB Notification: Performance of SimCode: time 1.343e-06/1.611, allocations: 0 / 1.077 GB, free: 299.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.07059/1.681, allocations: 53.46 MB / 1.129 GB, free: 247.2 MB / 0.7325 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)