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: "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001469/0.001468, allocations: 104.4 kB / 16.4 MB, free: 6.438 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.001577/0.001577, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6879/0.6879, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 65.78 kB / 0.5572 GB, free: 32.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1392, allocations: 76.18 MB / 0.6316 GB, free: 4.914 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.6733/0.8125, allocations: 342.8 MB / 0.9664 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.04838/0.861, allocations: 38.38 MB / 1.004 GB, free: 14.94 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006273/0.8673, allocations: 143.2 kB / 1.004 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.009317/0.8767, allocations: 3.142 MB / 1.007 GB, free: 11.64 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.01903/0.8958, allocations: 5.942 MB / 1.013 GB, free: 5.676 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008219/0.904, allocations: 3.132 MB / 1.016 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0213/0.9253, allocations: 11.47 MB / 1.027 GB, free: 7.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008138/0.9335, allocations: 4.223 MB / 1.031 GB, free: 2.762 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.9447, allocations: 4.986 MB / 1.036 GB, free: 13.76 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005385/0.9501, allocations: 2.776 MB / 1.039 GB, free: 10.98 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.00137/0.9515, allocations: 380 kB / 1.039 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01144/0.963, allocations: 5.305 MB / 1.044 GB, free: 5.297 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002433/0.9655, allocations: 1.414 MB / 1.046 GB, free: 3.879 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.005072/0.9706, allocations: 2.259 MB / 1.048 GB, free: 1.609 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.478/1.449, allocations: 7.71 MB / 1.055 GB, free: 36.61 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/1.449, allocations: 0.5 kB / 1.055 GB, free: 36.61 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.893e-06/1.449, allocations: 1.234 kB / 1.055 GB, free: 36.61 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002554/1.449, allocations: 0 / 1.055 GB, free: 36.61 MB / 0.795 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.01444/1.463, allocations: 4.791 MB / 1.06 GB, free: 34.62 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.463, allocations: 10.22 kB / 1.06 GB, free: 34.62 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007475/1.464, allocations: 365.9 kB / 1.061 GB, free: 34.57 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009428/1.474, allocations: 1.484 MB / 1.062 GB, free: 34.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008967/1.483, allocations: 3.906 MB / 1.066 GB, free: 33.63 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000398/1.483, allocations: 286.3 kB / 1.066 GB, free: 33.53 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001327/1.484, allocations: 259.6 kB / 1.066 GB, free: 33.53 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008381/1.493, allocations: 3.369 MB / 1.07 GB, free: 33.22 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.752e-05/1.493, allocations: 7.219 kB / 1.07 GB, free: 33.22 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003471/1.493, allocations: 104.9 kB / 1.07 GB, free: 33.22 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.901e-05/1.493, allocations: 106.7 kB / 1.07 GB, free: 33.21 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007254/1.501, allocations: 2.98 MB / 1.073 GB, free: 33.18 MB / 0.795 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.02577/1.526, allocations: 14.56 MB / 1.087 GB, free: 26.05 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/1.53, allocations: 1.579 MB / 1.088 GB, free: 25.82 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001612/1.532, allocations: 0.6961 MB / 1.089 GB, free: 25.8 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004043/1.532, allocations: 303.3 kB / 1.089 GB, free: 25.52 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001698/1.534, allocations: 0.8068 MB / 1.09 GB, free: 25.45 MB / 0.795 GB Notification: Performance of pre-optimization done (n=103): time 2.995e-06/1.534, allocations: 0.8125 kB / 1.09 GB, free: 25.45 MB / 0.795 GB Notification: Performance of matching and sorting (n=103): time 0.005874/1.54, allocations: 2.185 MB / 1.092 GB, free: 25.14 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/1.54, allocations: 118.8 kB / 1.092 GB, free: 25.02 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005844/1.546, allocations: 3.195 MB / 1.096 GB, free: 24.73 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0004813/1.546, allocations: 51.11 kB / 1.096 GB, free: 24.7 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001498/1.548, allocations: 1.725 MB / 1.097 GB, free: 24.09 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003884/1.548, allocations: 376 kB / 1.098 GB, free: 23.87 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006891/1.549, allocations: 477.1 kB / 1.098 GB, free: 23.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 3.507e-05/1.549, allocations: 302.1 kB / 1.098 GB, free: 23.52 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/1.551, allocations: 0.9301 MB / 1.099 GB, free: 23.5 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/1.553, allocations: 1.698 MB / 1.101 GB, free: 22.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003754/1.557, allocations: 2.501 MB / 1.103 GB, free: 21.77 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/1.557, allocations: 6.938 kB / 1.103 GB, free: 21.77 MB / 0.795 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.005911/1.563, allocations: 2.914 MB / 1.106 GB, free: 21.47 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/1.563, allocations: 41.42 kB / 1.106 GB, free: 21.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.703e-05/1.563, allocations: 22.88 kB / 1.106 GB, free: 21.44 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.868e-05/1.563, allocations: 31.75 kB / 1.106 GB, free: 21.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002049/1.565, allocations: 0.5113 MB / 1.107 GB, free: 21.43 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.426e-05/1.565, allocations: 47.61 kB / 1.107 GB, free: 21.43 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003645/1.569, allocations: 386 kB / 1.107 GB, free: 21.29 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002918/1.569, allocations: 98.41 kB / 1.107 GB, free: 21.29 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003643/1.572, allocations: 1.728 MB / 1.109 GB, free: 21.19 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002295/1.575, allocations: 1.705 MB / 1.111 GB, free: 20.27 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00361/1.578, allocations: 2.49 MB / 1.113 GB, free: 19.38 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.909e-05/1.578, allocations: 3.562 kB / 1.113 GB, free: 19.38 MB / 0.795 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.006338/1.585, allocations: 2.916 MB / 1.116 GB, free: 19.08 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.407e-05/1.585, allocations: 42.27 kB / 1.116 GB, free: 19.05 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.54e-05/1.585, allocations: 25.55 kB / 1.116 GB, free: 19.05 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/1.585, allocations: 31.25 kB / 1.116 GB, free: 19.05 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/1.587, allocations: 0.5022 MB / 1.117 GB, free: 19.04 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.056e-05/1.587, allocations: 52.34 kB / 1.117 GB, free: 19.04 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004038/1.591, allocations: 323.6 kB / 1.117 GB, free: 18.96 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/1.591, allocations: 96.38 kB / 1.117 GB, free: 18.96 MB / 0.795 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.0006481/1.592, allocations: 317.1 kB / 1.117 GB, free: 18.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008236/1.593, allocations: 307.5 kB / 1.118 GB, free: 18.6 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003817/1.597, allocations: 1.682 MB / 1.119 GB, free: 18.47 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.597, allocations: 13.97 kB / 1.119 GB, free: 18.46 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/1.597, allocations: 0 / 1.119 GB, free: 18.46 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002485/1.599, allocations: 1.303 MB / 1.121 GB, free: 18.28 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/1.61, allocations: 4.569 MB / 1.125 GB, free: 17.52 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.61, allocations: 3.562 kB / 1.125 GB, free: 17.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.612, allocations: 239.2 kB / 1.125 GB, free: 17.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/1.612, allocations: 53.28 kB / 1.125 GB, free: 17.51 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.306e-05/1.612, allocations: 42.81 kB / 1.125 GB, free: 17.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/1.613, allocations: 1.543 MB / 1.127 GB, free: 16.16 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.613, allocations: 9.719 kB / 1.127 GB, free: 16.16 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005591/1.619, allocations: 2.507 MB / 1.129 GB, free: 15.57 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/1.621, allocations: 0.5538 MB / 1.13 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001048/1.622, allocations: 33.86 kB / 1.13 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/1.625, allocations: 132.6 kB / 1.13 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.625, allocations: 94.83 kB / 1.13 GB, free: 15.28 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.625, allocations: 54.88 kB / 1.13 GB, free: 15.28 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003773/1.629, allocations: 2.151 MB / 1.132 GB, free: 15.13 MB / 0.795 GB Notification: Performance of sort global known variables: time 6.11e-07/1.629, allocations: 0 / 1.132 GB, free: 15.13 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.007069/1.636, allocations: 1.69 MB / 1.134 GB, free: 14.88 MB / 0.795 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.006528/1.642, allocations: 3.543 MB / 1.137 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.006685/1.649, allocations: 3.381 MB / 1.141 GB, free: 13.46 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.649, allocations: 3.969 kB / 1.141 GB, free: 13.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001632/1.651, allocations: 0.8184 MB / 1.142 GB, free: 13.33 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006597/1.657, allocations: 1.495 MB / 1.143 GB, free: 13.07 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04047/1.698, allocations: 23.16 MB / 1.166 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/1.7, allocations: 2.307 MB / 1.168 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.003697/1.704, allocations: 0.8916 MB / 1.169 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002191/1.706, allocations: 1.446 MB / 1.17 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of SimCode: time 8.92e-07/1.706, allocations: 0 / 1.17 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1318/1.838, allocations: 78.57 MB / 1.247 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/17.41, allocations: 7.875 kB / 1.247 GB, free: 13.66 MB / 0.8887 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > IBPSA_latest_IBPSA.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)