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.001588/0.001588, allocations: 109.7 kB / 17.03 MB, free: 5.809 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.001968/0.001967, allocations: 196 kB / 17.98 MB, free: 5.027 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.328/1.328, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7209/0.7209, allocations: 115.1 MB / 406.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3297, allocations: 76.14 MB / 0.5576 GB, free: 36.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6518/0.9815, allocations: 342.8 MB / 0.8924 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.05393/1.036, allocations: 38.38 MB / 0.9299 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005893/1.041, allocations: 135.2 kB / 0.93 GB, free: 8.133 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01297/1.054, allocations: 5.611 MB / 0.9355 GB, free: 2.504 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01705/1.072, allocations: 5.815 MB / 0.9411 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008443/1.08, allocations: 3.075 MB / 0.9441 GB, free: 9.621 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01669/1.097, allocations: 11.36 MB / 0.9552 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007292/1.104, allocations: 4.19 MB / 0.9593 GB, free: 9.953 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01172/1.116, allocations: 4.889 MB / 0.9641 GB, free: 5.047 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005989/1.122, allocations: 2.753 MB / 0.9668 GB, free: 2.297 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001597/1.123, allocations: 376 kB / 0.9671 GB, free: 1.93 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/1.136, allocations: 5.312 MB / 0.9723 GB, free: 12.61 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003572/1.139, allocations: 1.391 MB / 0.9737 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.005656/1.145, allocations: 2.259 MB / 0.9759 GB, free: 8.941 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01434/1.16, allocations: 7.673 MB / 0.9834 GB, free: 1.246 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.16, allocations: 4 kB / 0.9834 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/1.16, allocations: 0 / 0.9834 GB, free: 1.242 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002135/1.16, allocations: 0 / 0.9834 GB, free: 1.242 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.01124/1.171, allocations: 4.787 MB / 0.9881 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.171, allocations: 12.03 kB / 0.9881 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009411/1.181, allocations: 1.478 MB / 0.9895 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009224/1.19, allocations: 3.866 MB / 0.9933 GB, free: 6.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/1.19, allocations: 294.2 kB / 0.9936 GB, free: 6.621 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008378/1.191, allocations: 256 kB / 0.9938 GB, free: 6.371 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008616/1.2, allocations: 3.369 MB / 0.9971 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.951e-05/1.2, allocations: 3.938 kB / 0.9971 GB, free: 2.887 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005372/1.2, allocations: 104 kB / 0.9972 GB, free: 2.785 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/1.2, allocations: 108.9 kB / 0.9973 GB, free: 2.676 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007655/1.208, allocations: 2.978 MB / 1 GB, free: 15.68 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.02629/1.234, allocations: 14.55 MB / 1.014 GB, free: 40 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00365/1.238, allocations: 1.579 MB / 1.016 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/1.24, allocations: 0.6843 MB / 1.017 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/1.24, allocations: 308.2 kB / 1.017 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001921/1.242, allocations: 0.8025 MB / 1.018 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=103): time 2.615e-06/1.242, allocations: 0 / 1.018 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=103): time 0.00614/1.248, allocations: 2.189 MB / 1.02 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/1.249, allocations: 119.8 kB / 1.02 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006092/1.255, allocations: 3.17 MB / 1.023 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003087/1.255, allocations: 49.7 kB / 1.023 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00172/1.257, allocations: 1.731 MB / 1.025 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/1.257, allocations: 378.8 kB / 1.025 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001017/1.258, allocations: 471.3 kB / 1.026 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.258, allocations: 301.1 kB / 1.026 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002512/1.261, allocations: 0.9306 MB / 1.027 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00308/1.264, allocations: 1.699 MB / 1.028 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.297/1.561, allocations: 2.483 MB / 1.031 GB, free: 318.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.717e-05/1.561, allocations: 8.5 kB / 1.031 GB, free: 318.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.007593/1.569, allocations: 2.921 MB / 1.034 GB, free: 317.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.198e-05/1.569, allocations: 41.05 kB / 1.034 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-05/1.569, allocations: 25.03 kB / 1.034 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.653e-05/1.569, allocations: 32.84 kB / 1.034 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002358/1.571, allocations: 0.5071 MB / 1.034 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.047e-05/1.572, allocations: 46.94 kB / 1.034 GB, free: 317.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003368/1.575, allocations: 386.2 kB / 1.035 GB, free: 317.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/1.575, allocations: 104 kB / 1.035 GB, free: 317.5 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003857/1.579, allocations: 1.726 MB / 1.037 GB, free: 316.8 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002889/1.582, allocations: 1.697 MB / 1.038 GB, free: 315.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004602/1.587, allocations: 2.497 MB / 1.041 GB, free: 314.1 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-05/1.587, allocations: 5.156 kB / 1.041 GB, free: 314.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.007445/1.594, allocations: 2.915 MB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.075e-05/1.594, allocations: 42.73 kB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.971e-05/1.594, allocations: 21.91 kB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.202e-05/1.594, allocations: 33.66 kB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002424/1.597, allocations: 0.5066 MB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.104e-05/1.597, allocations: 57.12 kB / 1.044 GB, free: 313.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003592/1.601, allocations: 316.7 kB / 1.044 GB, free: 313 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000407/1.601, allocations: 100.7 kB / 1.045 GB, free: 313 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.0007299/1.602, allocations: 315.9 kB / 1.045 GB, free: 312.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009253/1.603, allocations: 310.8 kB / 1.045 GB, free: 312.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004833/1.607, allocations: 1.684 MB / 1.047 GB, free: 312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/1.608, allocations: 10.69 kB / 1.047 GB, free: 312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/1.608, allocations: 0.5156 kB / 1.047 GB, free: 312 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003097/1.611, allocations: 1.299 MB / 1.048 GB, free: 311.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/1.624, allocations: 4.565 MB / 1.053 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.541e-05/1.624, allocations: 7.078 kB / 1.053 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/1.626, allocations: 238.5 kB / 1.053 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003821/1.626, allocations: 53.55 kB / 1.053 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000251/1.626, allocations: 31.52 kB / 1.053 GB, free: 309.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001732/1.628, allocations: 1.542 MB / 1.054 GB, free: 307.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.75e-05/1.628, allocations: 8.156 kB / 1.054 GB, free: 307.9 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006907/1.635, allocations: 2.513 MB / 1.057 GB, free: 306.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.637, allocations: 0.5556 MB / 1.057 GB, free: 306.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009633/1.638, allocations: 26.73 kB / 1.057 GB, free: 306.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.641, allocations: 139.3 kB / 1.058 GB, free: 306.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/1.641, allocations: 87.48 kB / 1.058 GB, free: 306.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/1.641, allocations: 53.53 kB / 1.058 GB, free: 306.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.005758/1.647, allocations: 2.136 MB / 1.06 GB, free: 305.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.21e-07/1.647, allocations: 1.219 kB / 1.06 GB, free: 305.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.006914/1.654, allocations: 1.695 MB / 1.061 GB, free: 305.2 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.001777/1.656, allocations: 0.5626 MB / 1.062 GB, free: 305.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00777/1.664, allocations: 3.397 MB / 1.065 GB, free: 304 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/1.664, allocations: 0 / 1.065 GB, free: 304 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001878/1.666, allocations: 0.8202 MB / 1.066 GB, free: 303.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00738/1.673, allocations: 1.494 MB / 1.068 GB, free: 303.3 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/1.686, allocations: 6.203 MB / 1.074 GB, free: 300.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/1.688, allocations: 2.305 MB / 1.076 GB, free: 299.3 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003768/1.692, allocations: 0.8876 MB / 1.077 GB, free: 299.1 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007581/1.693, allocations: 221.5 kB / 1.077 GB, free: 299.1 MB / 0.7325 GB Notification: Performance of SimCode: time 1.022e-06/1.693, allocations: 0 / 1.077 GB, free: 299.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.0754/1.768, 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)