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.001152/0.001152, allocations: 95.95 kB / 16.26 MB, free: 5.934 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.001208/0.001208, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.359/1.359, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7796/0.7796, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.91 kB / 0.4911 GB, free: 7.398 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3857, allocations: 77.93 MB / 0.5672 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACWithExhaust): time 0.7066/1.092, allocations: 380.1 MB / 0.9384 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.06636/1.159, allocations: 46.53 MB / 0.9838 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008857/1.168, allocations: 175.1 kB / 0.984 GB, free: 11.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.01959/1.187, allocations: 8.596 MB / 0.9924 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.02196/1.209, allocations: 7.334 MB / 0.9995 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01102/1.22, allocations: 3.828 MB / 1.003 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.02381/1.244, allocations: 17.12 MB / 1.02 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/1.256, allocations: 5.582 MB / 1.025 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5148/1.771, allocations: 6.265 MB / 1.032 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01219/1.783, allocations: 3.698 MB / 1.035 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.004248/1.787, allocations: 0.4932 MB / 1.036 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02219/1.809, allocations: 6.336 MB / 1.042 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.005138/1.815, allocations: 1.982 MB / 1.044 GB, free: 21.05 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.00871/1.823, allocations: 3.132 MB / 1.047 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.02364/1.847, allocations: 10.17 MB / 1.057 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/1.847, allocations: 0 / 1.057 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.065e-06/1.847, allocations: 0.6875 kB / 1.057 GB, free: 19.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0003835/1.847, allocations: 3.531 kB / 1.057 GB, free: 19.21 MB / 0.7325 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.0207/1.868, allocations: 6.44 MB / 1.063 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/1.868, allocations: 9.938 kB / 1.063 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01393/1.882, allocations: 2.013 MB / 1.065 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01556/1.898, allocations: 5.609 MB / 1.071 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001565/1.899, allocations: 0.5934 MB / 1.071 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001446/1.901, allocations: 350.5 kB / 1.071 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/1.913, allocations: 4.534 MB / 1.076 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/1.913, allocations: 5.219 kB / 1.076 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008186/1.914, allocations: 144.6 kB / 1.076 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001758/1.914, allocations: 136.2 kB / 1.076 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/1.925, allocations: 3.996 MB / 1.08 GB, free: 14.38 MB / 0.7325 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.03698/1.962, allocations: 19.75 MB / 1.099 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/1.966, allocations: 1.763 MB / 1.101 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002168/1.968, allocations: 0.9228 MB / 1.102 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006306/1.969, allocations: 403.1 kB / 1.102 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002378/1.971, allocations: 1.066 MB / 1.103 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=127): time 3.476e-06/1.971, allocations: 0 / 1.103 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=127): time 0.00859/1.98, allocations: 2.931 MB / 1.106 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/1.98, allocations: 147.3 kB / 1.106 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007841/1.988, allocations: 4.654 MB / 1.111 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005804/1.988, allocations: 58.7 kB / 1.111 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.002366/1.991, allocations: 2.424 MB / 1.113 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006108/1.991, allocations: 479.3 kB / 1.114 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009851/1.992, allocations: 0.679 MB / 1.114 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 3.866e-05/1.992, allocations: 304.2 kB / 1.115 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002951/1.995, allocations: 1.408 MB / 1.116 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003559/1.999, allocations: 2.551 MB / 1.119 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006197/2.005, allocations: 3.73 MB / 1.122 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.271e-05/2.005, allocations: 11.34 kB / 1.122 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=420) (initialization): time 0.0094/2.014, allocations: 4.331 MB / 1.127 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/2.015, allocations: 49.55 kB / 1.127 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.547e-05/2.015, allocations: 34.12 kB / 1.127 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.417e-05/2.015, allocations: 53.19 kB / 1.127 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003026/2.018, allocations: 0.7389 MB / 1.127 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.037e-05/2.018, allocations: 74.97 kB / 1.127 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005334/2.023, allocations: 0.5813 MB / 1.128 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000472/2.024, allocations: 140.9 kB / 1.128 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005913/2.03, allocations: 2.56 MB / 1.131 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004134/2.034, allocations: 2.544 MB / 1.133 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006549/2.04, allocations: 3.74 MB / 1.137 GB, free: 5.184 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.147e-05/2.04, allocations: 8 kB / 1.137 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of matching and sorting (n=420) (initialization_lambda0): time 0.00985/2.05, allocations: 4.332 MB / 1.141 GB, free: 2.043 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.739e-05/2.05, allocations: 49.69 kB / 1.141 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.777e-05/2.05, allocations: 36.78 kB / 1.141 GB, free: 1.953 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.738e-05/2.05, allocations: 48 kB / 1.141 GB, free: 1.906 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002989/2.053, allocations: 0.7394 MB / 1.142 GB, free: 1.234 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.378e-05/2.053, allocations: 70.42 kB / 1.142 GB, free: 1.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004817/2.058, allocations: 494.6 kB / 1.142 GB, free: 0.7422 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002588/2.059, allocations: 137.4 kB / 1.143 GB, free: 0.6289 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 150 * 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 (352): * Single equations (assignments): 346 * 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.0006676/2.059, allocations: 366.7 kB / 1.143 GB, free: 388 kB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008629/2.06, allocations: 434.1 kB / 1.143 GB, free: 15.95 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005988/2.066, allocations: 2.33 MB / 1.146 GB, free: 14.28 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/2.066, allocations: 12 kB / 1.146 GB, free: 14.27 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/2.066, allocations: 4 kB / 1.146 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004342/2.071, allocations: 1.916 MB / 1.147 GB, free: 12.69 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/2.085, allocations: 6.703 MB / 1.154 GB, free: 7.691 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/2.085, allocations: 19.92 kB / 1.154 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/2.087, allocations: 327 kB / 1.154 GB, free: 7.375 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002312/2.087, allocations: 53.33 kB / 1.154 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/2.087, allocations: 41.23 kB / 1.154 GB, free: 7.305 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/2.088, allocations: 1.55 MB / 1.156 GB, free: 5.754 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.677e-05/2.088, allocations: 19.25 kB / 1.156 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008116/2.096, allocations: 3.392 MB / 1.159 GB, free: 2.582 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00196/2.098, allocations: 0.7256 MB / 1.16 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006119/2.099, allocations: 39.92 kB / 1.16 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002736/2.102, allocations: 200.8 kB / 1.16 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000245/2.102, allocations: 121.9 kB / 1.16 GB, free: 1.488 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001444/2.102, allocations: 67.72 kB / 1.16 GB, free: 1.426 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.005905/2.108, allocations: 3.119 MB / 1.163 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.91e-07/2.108, allocations: 4 kB / 1.163 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.008625/2.117, allocations: 2.298 MB / 1.166 GB, free: 12.02 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (125): * Single equations (assignments): 122 * 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.001655/2.118, allocations: 0.6232 MB / 1.166 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01236/2.131, allocations: 5.1 MB / 1.171 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/2.131, allocations: 4 kB / 1.171 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002759/2.134, allocations: 1.065 MB / 1.172 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01193/2.146, allocations: 2.138 MB / 1.174 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02057/2.166, allocations: 8.999 MB / 1.183 GB, free: 10.41 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003453/2.17, allocations: 3.015 MB / 1.186 GB, free: 7.371 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.006639/2.176, allocations: 1.3 MB / 1.187 GB, free: 6.066 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/2.178, allocations: 311.3 kB / 1.188 GB, free: 5.762 MB / 0.795 GB Notification: Performance of SimCode: time 1.202e-06/2.178, allocations: 0 / 1.188 GB, free: 5.762 MB / 0.795 GB Notification: Performance of Templates: time 0.1397/2.317, allocations: 77.75 MB / 1.264 GB, free: 9.168 MB / 0.8731 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)