Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.808/1.808, allocations: 288.2 MB / 303.2 MB, free: 8.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 187.5 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.4 MB / 0.6305 GB, free: 9.957 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008605/0.0008603, allocations: 104.6 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 11.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2363, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.9354/1.172, allocations: 276.8 MB / 1.25 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.05219/1.224, allocations: 34.78 MB / 1.284 GB, free: 0.5 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006548/1.231, allocations: 111.2 kB / 1.284 GB, free: 400 kB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.008791/1.239, allocations: 1.921 MB / 1.286 GB, free: 14.46 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.02295/1.262, allocations: 5.442 MB / 1.291 GB, free: 9.008 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01591/1.278, allocations: 3.708 MB / 1.295 GB, free: 5.344 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.01203/1.29, allocations: 5.005 MB / 1.3 GB, free: 340 kB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007192/1.298, allocations: 2.936 MB / 1.302 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/1.309, allocations: 3.271 MB / 1.306 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004486/1.313, allocations: 1.676 MB / 1.307 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.001462/1.315, allocations: 124 kB / 1.307 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009234/1.324, allocations: 2.496 MB / 1.31 GB, free: 5.762 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.002454/1.326, allocations: 0.8838 MB / 1.311 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.003334/1.33, allocations: 0.7537 MB / 1.311 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.009834/1.34, allocations: 4.781 MB / 1.316 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/1.34, allocations: 0 / 1.316 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.965e-06/1.34, allocations: 7.938 kB / 1.316 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002846/1.34, allocations: 0 / 1.316 GB, free: 15.31 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 645 * Number of variables: 645 Notification: Performance of Generate backend data structure: time 0.01142/1.351, allocations: 3.636 MB / 1.32 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.352, allocations: 12.03 kB / 1.32 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001319/1.353, allocations: 358.4 kB / 1.32 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008825/1.362, allocations: 1.478 MB / 1.321 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008188/1.37, allocations: 2.57 MB / 1.324 GB, free: 7.098 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001574/1.372, allocations: 0.5408 MB / 1.324 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00104/1.373, allocations: 264 kB / 1.325 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/1.383, allocations: 3.441 MB / 1.328 GB, free: 2.734 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/1.383, allocations: 3.906 kB / 1.328 GB, free: 2.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000874/1.384, allocations: 104 kB / 1.328 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/1.384, allocations: 100.9 kB / 1.328 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/1.394, allocations: 3.189 MB / 1.331 GB, free: 15.32 MB / 0.8698 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.02899/1.423, allocations: 14.48 MB / 1.346 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004644/1.428, allocations: 1.873 MB / 1.347 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/1.428, allocations: 37 kB / 1.347 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002467/1.431, allocations: 0.9723 MB / 1.348 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001789/1.433, allocations: 142.3 kB / 1.348 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=108): time 9.368e-06/1.433, allocations: 0 / 1.348 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108): time 0.007301/1.44, allocations: 2.53 MB / 1.351 GB, free: 10.13 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001342/1.44, allocations: 200.8 kB / 1.351 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006272/1.446, allocations: 2.819 MB / 1.354 GB, free: 7.066 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000402/1.447, allocations: 53.7 kB / 1.354 GB, free: 7.008 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001893/1.449, allocations: 1.498 MB / 1.355 GB, free: 5.496 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/1.449, allocations: 378.6 kB / 1.356 GB, free: 5.121 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/1.45, allocations: 35.94 kB / 1.356 GB, free: 5.086 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001939/1.45, allocations: 361.9 kB / 1.356 GB, free: 4.727 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/1.452, allocations: 0.894 MB / 1.357 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002989/1.455, allocations: 1.401 MB / 1.358 GB, free: 2.219 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002753/1.458, allocations: 1.022 MB / 1.359 GB, free: 1.195 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/1.458, allocations: 4 kB / 1.359 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006949/1.465, allocations: 2.542 MB / 1.362 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.002102/1.467, allocations: 5.113 MB / 1.367 GB, free: 9.191 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/1.467, allocations: 12 kB / 1.367 GB, free: 9.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.761e-05/1.467, allocations: 20 kB / 1.367 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/1.47, allocations: 471.3 kB / 1.367 GB, free: 8.699 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.953e-05/1.47, allocations: 31.89 kB / 1.367 GB, free: 8.668 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/1.474, allocations: 0.4974 MB / 1.368 GB, free: 8.172 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/1.474, allocations: 75.97 kB / 1.368 GB, free: 8.098 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/1.474, allocations: 4 kB / 1.368 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005842/1.48, allocations: 2.262 MB / 1.37 GB, free: 5.828 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/1.48, allocations: 12 kB / 1.37 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.48, allocations: 20 kB / 1.37 GB, free: 5.797 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/1.482, allocations: 471.8 kB / 1.371 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.723e-05/1.482, allocations: 23.92 kB / 1.371 GB, free: 5.312 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003955/1.486, allocations: 443.9 kB / 1.371 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/1.487, allocations: 75.95 kB / 1.371 GB, free: 4.805 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 177 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002159/1.489, allocations: 0.8711 MB / 1.372 GB, free: 3.926 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009673/1.49, allocations: 284.5 kB / 1.372 GB, free: 3.645 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005083/1.495, allocations: 1.878 MB / 1.374 GB, free: 1.738 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/1.495, allocations: 8 kB / 1.374 GB, free: 1.73 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/1.495, allocations: 7.938 kB / 1.374 GB, free: 1.723 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003211/1.498, allocations: 1.372 MB / 1.375 GB, free: 328 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.511, allocations: 5.353 MB / 1.381 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/1.512, allocations: 8 kB / 1.381 GB, free: 10.76 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/1.513, allocations: 287.9 kB / 1.381 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002812/1.513, allocations: 52.83 kB / 1.381 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/1.514, allocations: 35.98 kB / 1.381 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/1.515, allocations: 1.46 MB / 1.382 GB, free: 8.801 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.515, allocations: 11.94 kB / 1.383 GB, free: 8.789 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006904/1.522, allocations: 3.761 MB / 1.386 GB, free: 4.684 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/1.524, allocations: 0.552 MB / 1.387 GB, free: 4.109 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006068/1.525, allocations: 32 kB / 1.387 GB, free: 4.078 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002797/1.527, allocations: 315.5 kB / 1.387 GB, free: 3.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/1.528, allocations: 100.3 kB / 1.387 GB, free: 3.672 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.528, allocations: 56.02 kB / 1.387 GB, free: 3.617 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.003663/1.531, allocations: 1.958 MB / 1.389 GB, free: 1.664 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/1.531, allocations: 4 kB / 1.389 GB, free: 1.66 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005079/1.536, allocations: 1.539 MB / 1.391 GB, free: 120 kB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (conPI.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * 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 (106): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008813/1.545, allocations: 6.51 MB / 1.397 GB, free: 9.363 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.008005/1.553, allocations: 3.131 MB / 1.4 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/1.553, allocations: 0 / 1.4 GB, free: 6.207 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.002334/1.556, allocations: 0.9491 MB / 1.401 GB, free: 5.25 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008439/1.564, allocations: 1.498 MB / 1.402 GB, free: 3.762 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0222/1.586, allocations: 16.7 MB / 1.419 GB, free: 2.469 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001963/1.588, allocations: 2.193 MB / 1.421 GB, free: 248 kB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004444/1.593, allocations: 0.7533 MB / 1.422 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/1.595, allocations: 1.28 MB / 1.423 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of SimCode: time 8.32e-07/1.595, allocations: 0 / 1.423 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7076/2.303, allocations: 77.24 MB / 1.498 GB, free: 333.2 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/2.303, allocations: 259.9 kB / 1.499 GB, free: 332.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.764/7.067, allocations: 0 / 1.499 GB, free: 332.8 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_maint.8.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)