Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.497/1.497, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001142/0.001142, allocations: 189 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.4 MB / 0.5775 GB, free: 20.24 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008921/0.0008921, allocations: 84.77 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000479/0.0004793, allocations: 12 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2428, allocations: 106.3 MB / 0.9002 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust): time 0.8745/1.117, allocations: 277.4 MB / 1.171 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.05162/1.169, allocations: 35.04 MB / 1.205 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006936/1.176, allocations: 103 kB / 1.205 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.008753/1.185, allocations: 1.933 MB / 1.207 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.02283/1.208, allocations: 5.542 MB / 1.213 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01571/1.223, allocations: 3.809 MB / 1.216 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01314/1.237, allocations: 5.033 MB / 1.221 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007218/1.244, allocations: 2.955 MB / 1.224 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/1.254, allocations: 3.185 MB / 1.227 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004992/1.259, allocations: 1.785 MB / 1.229 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0009671/1.26, allocations: 124 kB / 1.229 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00824/1.268, allocations: 2.379 MB / 1.232 GB, free: 10.94 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001795/1.27, allocations: 0.8955 MB / 1.232 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002085/1.272, allocations: 0.7537 MB / 1.233 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008582/1.281, allocations: 4.75 MB / 1.238 GB, free: 4.516 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.281, allocations: 8 kB / 1.238 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.895e-06/1.281, allocations: 0 / 1.238 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001458/1.281, allocations: 0 / 1.238 GB, free: 4.508 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 647 * Number of variables: 647 Notification: Performance of Generate backend data structure: time 0.008545/1.29, allocations: 3.616 MB / 1.241 GB, free: 0.8086 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.29, allocations: 12.03 kB / 1.241 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008461/1.291, allocations: 358.5 kB / 1.242 GB, free: 448 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007914/1.299, allocations: 1.443 MB / 1.243 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006553/1.305, allocations: 2.588 MB / 1.246 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001484/1.307, allocations: 0.5331 MB / 1.246 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006417/1.307, allocations: 264 kB / 1.246 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007361/1.315, allocations: 3.46 MB / 1.25 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/1.315, allocations: 0 / 1.25 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002864/1.315, allocations: 108 kB / 1.25 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/1.315, allocations: 100.9 kB / 1.25 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007914/1.323, allocations: 3.193 MB / 1.253 GB, free: 4.543 MB / 0.7761 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.02837/1.352, allocations: 14.48 MB / 1.267 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004588/1.356, allocations: 1.869 MB / 1.269 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/1.356, allocations: 33.05 kB / 1.269 GB, free: 3.051 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002351/1.359, allocations: 0.9645 MB / 1.27 GB, free: 2.055 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001791/1.361, allocations: 142.3 kB / 1.27 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=108): time 3.887e-06/1.361, allocations: 0 / 1.27 GB, free: 1.914 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108): time 0.007313/1.368, allocations: 2.507 MB / 1.273 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.368, allocations: 200.8 kB / 1.273 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005393/1.373, allocations: 2.827 MB / 1.276 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004726/1.374, allocations: 49.7 kB / 1.276 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001691/1.376, allocations: 1.506 MB / 1.277 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006089/1.376, allocations: 382.5 kB / 1.277 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/1.376, allocations: 28 kB / 1.277 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001758/1.377, allocations: 365.9 kB / 1.278 GB, free: 9.961 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/1.379, allocations: 0.8861 MB / 1.279 GB, free: 9.074 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/1.382, allocations: 1.406 MB / 1.28 GB, free: 7.453 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002779/1.385, allocations: 1.012 MB / 1.281 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.245e-05/1.385, allocations: 4 kB / 1.281 GB, free: 6.434 MB / 0.8073 GB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006853/1.392, allocations: 2.528 MB / 1.284 GB, free: 3.891 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002187/1.394, allocations: 5.117 MB / 1.289 GB, free: 14.45 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/1.394, allocations: 12 kB / 1.289 GB, free: 14.44 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.151e-05/1.394, allocations: 23.95 kB / 1.289 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/1.397, allocations: 475.3 kB / 1.289 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-05/1.397, allocations: 23.94 kB / 1.289 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004606/1.401, allocations: 0.5076 MB / 1.29 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/1.402, allocations: 75.97 kB / 1.29 GB, free: 13.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/1.402, allocations: 4 kB / 1.29 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006486/1.408, allocations: 2.259 MB / 1.292 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/1.408, allocations: 16.06 kB / 1.292 GB, free: 11.06 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.934e-05/1.408, allocations: 20.09 kB / 1.292 GB, free: 11.04 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002222/1.411, allocations: 467.3 kB / 1.292 GB, free: 10.58 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.421e-05/1.411, allocations: 27.86 kB / 1.292 GB, free: 10.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/1.415, allocations: 451.8 kB / 1.293 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/1.415, allocations: 75.97 kB / 1.293 GB, free: 10.04 MB / 0.823 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.002428/1.418, allocations: 0.8674 MB / 1.294 GB, free: 9.164 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001247/1.419, allocations: 280.4 kB / 1.294 GB, free: 8.887 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005842/1.425, allocations: 1.871 MB / 1.296 GB, free: 6.988 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.422e-05/1.425, allocations: 12 kB / 1.296 GB, free: 6.977 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.425, allocations: 0 / 1.296 GB, free: 6.977 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003421/1.428, allocations: 1.372 MB / 1.297 GB, free: 5.57 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01359/1.442, allocations: 5.325 MB / 1.302 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/1.442, allocations: 8 kB / 1.302 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001592/1.443, allocations: 288.4 kB / 1.303 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002982/1.444, allocations: 52.83 kB / 1.303 GB, free: 15.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/1.444, allocations: 43.97 kB / 1.303 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/1.445, allocations: 1.452 MB / 1.304 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/1.445, allocations: 12 kB / 1.304 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007537/1.453, allocations: 3.766 MB / 1.308 GB, free: 9.949 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/1.455, allocations: 0.552 MB / 1.308 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009287/1.456, allocations: 32 kB / 1.308 GB, free: 9.344 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00351/1.46, allocations: 323.5 kB / 1.309 GB, free: 9.027 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/1.46, allocations: 100.3 kB / 1.309 GB, free: 8.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/1.46, allocations: 51.97 kB / 1.309 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005345/1.466, allocations: 1.974 MB / 1.311 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.466, allocations: 0 / 1.311 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006783/1.472, allocations: 1.515 MB / 1.312 GB, free: 5.391 MB / 0.8386 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.01085/1.483, allocations: 6.485 MB / 1.319 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.008579/1.492, allocations: 3.134 MB / 1.322 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.639e-05/1.492, allocations: 3.938 kB / 1.322 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002588/1.495, allocations: 0.9453 MB / 1.323 GB, free: 10.55 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008867/1.503, allocations: 1.504 MB / 1.324 GB, free: 9.055 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/1.531, allocations: 16.69 MB / 1.34 GB, free: 7.766 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003697/1.535, allocations: 2.197 MB / 1.342 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006967/1.542, allocations: 0.7572 MB / 1.343 GB, free: 4.777 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003089/1.545, allocations: 1.28 MB / 1.344 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of SimCode: time 1.492e-06/1.545, allocations: 0 / 1.344 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6315/2.176, allocations: 76.97 MB / 1.42 GB, free: 366.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/2.177, allocations: 271.1 kB / 1.42 GB, free: 366.5 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.903/7.079, allocations: 4.281 kB / 1.42 GB, free: 366.5 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Adaptors_Examples_ThermalZoneHVACNoExhaust.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Adaptors.Examples.ThermalZoneHVACNoExhaust.pipe 2>&1)