Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.455/1.455, allocations: 287.4 MB / 302.6 MB, free: 8.348 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.000926/0.0009261, allocations: 185 kB / 371.1 MB, free: 10.84 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.207/1.207, allocations: 205.4 MB / 0.6298 GB, free: 10.58 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.0007344/0.0007346, allocations: 93.41 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003205/0.0003205, allocations: 11.44 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1484, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.5714/0.7198, allocations: 313.3 MB / 1.285 GB, free: 2.379 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.03981/0.7596, allocations: 36.43 MB / 1.32 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004109/0.7638, allocations: 115.2 kB / 1.32 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004858/0.7686, allocations: 1.479 MB / 1.322 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/0.7802, allocations: 4.167 MB / 1.326 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0063/0.7865, allocations: 2.208 MB / 1.328 GB, free: 5.906 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.01109/0.7976, allocations: 9.775 MB / 1.338 GB, free: 12.11 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005485/0.8031, allocations: 3.402 MB / 1.341 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008249/0.8114, allocations: 3.742 MB / 1.345 GB, free: 4.875 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004019/0.8154, allocations: 2.423 MB / 1.347 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008744/0.8163, allocations: 131.9 kB / 1.347 GB, free: 2.312 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007265/0.8236, allocations: 2.869 MB / 1.35 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.001647/0.8253, allocations: 0.9653 MB / 1.351 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.001623/0.8269, allocations: 0.7498 MB / 1.352 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.006498/0.8334, allocations: 5.042 MB / 1.356 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.8335, allocations: 0 / 1.356 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.965e-06/0.8335, allocations: 3.984 kB / 1.356 GB, free: 8.648 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001752/0.8337, allocations: 0 / 1.356 GB, free: 8.648 MB / 0.8855 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.007634/0.8413, allocations: 3.663 MB / 1.36 GB, free: 4.902 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.8414, allocations: 12.03 kB / 1.36 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008567/0.8422, allocations: 358.4 kB / 1.36 GB, free: 4.531 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007623/0.8499, allocations: 1.463 MB / 1.362 GB, free: 3.062 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00564/0.8555, allocations: 2.657 MB / 1.364 GB, free: 340 kB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001297/0.8569, allocations: 0.5408 MB / 1.365 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/0.8575, allocations: 264 kB / 1.365 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006954/0.8645, allocations: 3.468 MB / 1.369 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.8645, allocations: 0 / 1.369 GB, free: 11.94 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/0.8648, allocations: 104 kB / 1.369 GB, free: 11.84 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.5e-05/0.8649, allocations: 104.9 kB / 1.369 GB, free: 11.73 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00687/0.8718, allocations: 3.197 MB / 1.372 GB, free: 8.523 MB / 0.9011 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.0197/0.8915, allocations: 14.45 MB / 1.386 GB, free: 9.043 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003711/0.8952, allocations: 1.877 MB / 1.388 GB, free: 7.125 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.8969, allocations: 0.8222 MB / 1.389 GB, free: 6.297 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003536/0.8973, allocations: 304.3 kB / 1.389 GB, free: 5.941 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001901/0.8992, allocations: 0.9698 MB / 1.39 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001076/0.9003, allocations: 138.3 kB / 1.39 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=108): time 3.667e-06/0.9003, allocations: 0 / 1.39 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of matching and sorting (n=108): time 0.006047/0.9064, allocations: 2.525 MB / 1.392 GB, free: 2.258 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.9064, allocations: 119.8 kB / 1.393 GB, free: 2.117 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004303/0.9107, allocations: 2.834 MB / 1.395 GB, free: 15.28 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.9109, allocations: 49.7 kB / 1.395 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.9121, allocations: 1.498 MB / 1.397 GB, free: 13.71 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/0.9124, allocations: 382.5 kB / 1.397 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.9125, allocations: 28 kB / 1.397 GB, free: 13.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.9127, allocations: 365.8 kB / 1.398 GB, free: 12.94 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/0.9149, allocations: 0.8979 MB / 1.398 GB, free: 12.04 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.9174, allocations: 1.412 MB / 1.4 GB, free: 10.42 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003864/0.9212, allocations: 2.049 MB / 1.402 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.9213, allocations: 7.938 kB / 1.402 GB, free: 8.195 MB / 0.9323 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005542/0.9268, allocations: 2.542 MB / 1.404 GB, free: 5.641 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002656/0.9271, allocations: 467.3 kB / 1.405 GB, free: 5.012 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.9271, allocations: 12 kB / 1.405 GB, free: 5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.9272, allocations: 24 kB / 1.405 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/0.9291, allocations: 471.2 kB / 1.405 GB, free: 4.516 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.799e-05/0.9292, allocations: 19.94 kB / 1.405 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.9325, allocations: 0.5067 MB / 1.406 GB, free: 3.992 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.9327, allocations: 71.97 kB / 1.406 GB, free: 3.922 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.115e-06/0.9327, allocations: 6.5 kB / 1.406 GB, free: 3.918 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004958/0.9377, allocations: 2.266 MB / 1.408 GB, free: 1.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.9377, allocations: 15.94 kB / 1.408 GB, free: 1.633 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.9377, allocations: 20 kB / 1.408 GB, free: 1.613 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.9396, allocations: 459.8 kB / 1.409 GB, free: 1.164 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.928e-05/0.9396, allocations: 27.92 kB / 1.409 GB, free: 1.137 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.9427, allocations: 448.1 kB / 1.409 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.9429, allocations: 71.97 kB / 1.409 GB, free: 0.6289 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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.001489/0.9444, allocations: 0.8597 MB / 1.41 GB, free: 15.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005464/0.9449, allocations: 288.4 kB / 1.41 GB, free: 15.47 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/0.9491, allocations: 1.958 MB / 1.412 GB, free: 13.49 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.9492, allocations: 12 kB / 1.412 GB, free: 13.48 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.9492, allocations: 3.938 kB / 1.412 GB, free: 13.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003131/0.9523, allocations: 1.536 MB / 1.414 GB, free: 11.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009228/0.9615, allocations: 4.979 MB / 1.418 GB, free: 6.758 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.9616, allocations: 8 kB / 1.418 GB, free: 6.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00137/0.963, allocations: 279.7 kB / 1.419 GB, free: 6.477 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002146/0.9632, allocations: 52.83 kB / 1.419 GB, free: 6.422 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.582e-05/0.9633, allocations: 35.97 kB / 1.419 GB, free: 6.387 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.9644, allocations: 1.436 MB / 1.42 GB, free: 4.82 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.9644, allocations: 7.938 kB / 1.42 GB, free: 4.812 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/0.97, allocations: 2.947 MB / 1.423 GB, free: 1.766 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/0.9713, allocations: 0.5481 MB / 1.424 GB, free: 1.195 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005625/0.9719, allocations: 35.98 kB / 1.424 GB, free: 1.16 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002571/0.9745, allocations: 311.5 kB / 1.424 GB, free: 0.8555 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/0.9746, allocations: 96.7 kB / 1.424 GB, free: 0.7617 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.9748, allocations: 47.97 kB / 1.424 GB, free: 0.7148 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.3205/1.295, allocations: 1.972 MB / 1.426 GB, free: 347.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 6.41e-07/1.295, allocations: 0 / 1.426 GB, free: 347.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003636/1.299, allocations: 1.537 MB / 1.428 GB, free: 347.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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.006448/1.305, allocations: 3.826 MB / 1.431 GB, free: 346.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007008/1.312, allocations: 3.151 MB / 1.434 GB, free: 345.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/1.312, allocations: 1.406 kB / 1.434 GB, free: 345.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/1.314, allocations: 0.935 MB / 1.435 GB, free: 344.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008336/1.323, allocations: 1.586 MB / 1.437 GB, free: 344.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03454/1.357, allocations: 20.64 MB / 1.457 GB, free: 333.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/1.359, allocations: 2.13 MB / 1.459 GB, free: 332.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.003823/1.363, allocations: 0.7485 MB / 1.46 GB, free: 332 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001664/1.365, allocations: 1.3 MB / 1.461 GB, free: 331 MB / 0.948 GB Notification: Performance of SimCode: time 4.7e-07/1.365, allocations: 0 / 1.461 GB, free: 331 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9097/2.275, allocations: 85.31 MB / 1.544 GB, free: 260.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001443/2.275, allocations: 264.7 kB / 1.545 GB, free: 260.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.954/6.229, allocations: 4 kB / 1.545 GB, free: 260.6 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_8.0.0_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)