Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.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.Validation.HeaterFan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan",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.637/1.637, allocations: 252 MB / 267 MB, free: 10.97 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.001169/0.001169, allocations: 182.4 kB / 326.6 MB, free: 2.207 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.929/1.929, allocations: 205.4 MB / 0.5777 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.001121/0.001121, allocations: 89.39 kB / 0.6823 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 13.55 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2379, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.8428/1.081, allocations: 286.1 MB / 1.18 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03624/1.117, allocations: 28.22 MB / 1.207 GB, free: 5.961 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003947/1.121, allocations: 62.72 kB / 1.207 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004291/1.125, allocations: 0.976 MB / 1.208 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.008678/1.134, allocations: 2.267 MB / 1.211 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006118/1.14, allocations: 1.745 MB / 1.212 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007348/1.148, allocations: 5.101 MB / 1.217 GB, free: 13.74 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/1.15, allocations: 1.396 MB / 1.219 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004299/1.155, allocations: 1.712 MB / 1.22 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/1.157, allocations: 1.292 MB / 1.221 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002474/1.157, allocations: 68 kB / 1.222 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004968/1.162, allocations: 2.011 MB / 1.224 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006507/1.163, allocations: 494.2 kB / 1.224 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007871/1.164, allocations: 460.6 kB / 1.224 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005051/1.169, allocations: 3.394 MB / 1.228 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/1.169, allocations: 7.938 kB / 1.228 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.154e-06/1.169, allocations: 0 / 1.228 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.572e-05/1.169, allocations: 0 / 1.228 GB, free: 2.871 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.004091/1.173, allocations: 2.115 MB / 1.23 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/1.173, allocations: 8.031 kB / 1.23 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002634/1.173, allocations: 194.2 kB / 1.23 GB, free: 496 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/1.178, allocations: 0.8287 MB / 1.231 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005291/1.184, allocations: 1.934 MB / 1.233 GB, free: 13.66 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007546/1.184, allocations: 234.5 kB / 1.233 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003932/1.185, allocations: 132 kB / 1.233 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/1.189, allocations: 1.657 MB / 1.235 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/1.189, allocations: 3.938 kB / 1.235 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001423/1.189, allocations: 52 kB / 1.235 GB, free: 11.54 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.026e-05/1.189, allocations: 50.52 kB / 1.235 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/1.193, allocations: 1.505 MB / 1.236 GB, free: 9.973 MB / 0.7605 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.01111/1.204, allocations: 7.394 MB / 1.243 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002423/1.207, allocations: 0.6853 MB / 1.244 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007509/1.208, allocations: 305.2 kB / 1.244 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000305/1.208, allocations: 202.5 kB / 1.245 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/1.208, allocations: 42.52 kB / 1.245 GB, free: 0.793 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007477/1.209, allocations: 82.91 kB / 1.245 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 3.547e-06/1.209, allocations: 0 / 1.245 GB, free: 0.7109 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.003184/1.212, allocations: 1.317 MB / 1.246 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/1.212, allocations: 59.16 kB / 1.246 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/1.215, allocations: 1.854 MB / 1.248 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.958e-05/1.215, allocations: 37.7 kB / 1.248 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006717/1.216, allocations: 0.8152 MB / 1.249 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/1.216, allocations: 130.2 kB / 1.249 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/1.216, allocations: 8 kB / 1.249 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.216, allocations: 330 kB / 1.249 GB, free: 12 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.217, allocations: 413.1 kB / 1.25 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/1.219, allocations: 0.6547 MB / 1.25 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/1.22, allocations: 461.3 kB / 1.251 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/1.22, allocations: 0 / 1.251 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003226/1.223, allocations: 1.393 MB / 1.252 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002041/1.223, allocations: 288.9 kB / 1.252 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/1.223, allocations: 7.984 kB / 1.252 GB, free: 8.562 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002069/1.224, allocations: 57.69 kB / 1.252 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.225, allocations: 219.7 kB / 1.253 GB, free: 8.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/1.227, allocations: 2.817 MB / 1.255 GB, free: 5.203 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002193/1.229, allocations: 272.3 kB / 1.256 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/1.229, allocations: 43.97 kB / 1.256 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.345e-06/1.229, allocations: 4 kB / 1.256 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002884/1.232, allocations: 1.155 MB / 1.257 GB, free: 3.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/1.232, allocations: 8 kB / 1.257 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000178/1.232, allocations: 61.69 kB / 1.257 GB, free: 3.617 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/1.233, allocations: 203.7 kB / 1.257 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002417/1.236, allocations: 2.813 MB / 1.26 GB, free: 348 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/1.238, allocations: 212.4 kB / 1.26 GB, free: 136 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/1.238, allocations: 31.98 kB / 1.26 GB, free: 104 kB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001057/1.239, allocations: 0.5242 MB / 1.26 GB, free: 15.57 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.239, allocations: 169.8 kB / 1.261 GB, free: 15.4 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/1.242, allocations: 0.9256 MB / 1.262 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.242, allocations: 4 kB / 1.262 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.242, allocations: 3.953 kB / 1.262 GB, free: 14.4 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/1.242, allocations: 4 kB / 1.262 GB, free: 14.4 MB / 0.7917 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 postOpt removeSimpleEquations (simulation): time 0.005024/1.247, allocations: 2.178 MB / 1.264 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.247, allocations: 4 kB / 1.264 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006692/1.247, allocations: 95.98 kB / 1.264 GB, free: 12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001413/1.248, allocations: 49.7 kB / 1.264 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.151e-05/1.248, allocations: 11.98 kB / 1.264 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/1.25, allocations: 2.821 MB / 1.267 GB, free: 8.848 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.25, allocations: 4.031 kB / 1.267 GB, free: 8.844 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/1.252, allocations: 0.9933 MB / 1.268 GB, free: 7.773 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007477/1.252, allocations: 326.9 kB / 1.268 GB, free: 7.434 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003923/1.253, allocations: 8 kB / 1.268 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/1.254, allocations: 139.8 kB / 1.268 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/1.254, allocations: 43.78 kB / 1.268 GB, free: 7.246 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.629e-05/1.255, allocations: 19.98 kB / 1.268 GB, free: 7.227 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00298/1.258, allocations: 1.305 MB / 1.269 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.61e-07/1.258, allocations: 0 / 1.269 GB, free: 5.898 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003504/1.261, allocations: 0.7563 MB / 1.27 GB, free: 5.141 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003252/1.264, allocations: 1.74 MB / 1.272 GB, free: 3.316 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00455/1.269, allocations: 1.715 MB / 1.273 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/1.269, allocations: 0 / 1.273 GB, free: 1.551 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009436/1.27, allocations: 0.5024 MB / 1.274 GB, free: 1.023 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005429/1.275, allocations: 0.9769 MB / 1.275 GB, free: 60 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/1.305, allocations: 10.58 MB / 1.285 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001233/1.306, allocations: 1.336 MB / 1.287 GB, free: 3.406 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002296/1.308, allocations: 375 kB / 1.287 GB, free: 3.035 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.309, allocations: 0.6477 MB / 1.288 GB, free: 2.387 MB / 0.8073 GB Notification: Performance of SimCode: time 6.71e-07/1.309, allocations: 4 kB / 1.288 GB, free: 2.383 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09605/1.405, allocations: 49.16 MB / 1.336 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00031/1.406, allocations: 204.5 kB / 1.336 GB, free: 1.371 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/4.995, allocations: 0 / 1.336 GB, free: 1.371 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)