Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.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_noReverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow",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.444/1.444, allocations: 252 MB / 267.3 MB, free: 10.83 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.001694/0.001694, allocations: 171 kB / 327 MB, free: 2.059 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.822/1.822, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007885/0.0007884, allocations: 82.36 kB / 0.6826 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003619, allocations: 10.66 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2165, allocations: 106.3 MB / 0.9009 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow): time 0.7593/0.9759, allocations: 299.1 MB / 1.193 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03828/1.014, allocations: 28.52 MB / 1.221 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003694/1.018, allocations: 67.56 kB / 1.221 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004107/1.022, allocations: 1.197 MB / 1.222 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008174/1.03, allocations: 2.832 MB / 1.225 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.006564/1.037, allocations: 2.354 MB / 1.227 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007537/1.044, allocations: 5.602 MB / 1.233 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002437/1.047, allocations: 1.422 MB / 1.234 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00407/1.051, allocations: 1.759 MB / 1.236 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003473/1.055, allocations: 1.246 MB / 1.237 GB, free: 9.859 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002869/1.055, allocations: 64 kB / 1.237 GB, free: 9.797 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006683/1.062, allocations: 3.258 MB / 1.24 GB, free: 6.531 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0009335/1.062, allocations: 486.2 kB / 1.241 GB, free: 6.055 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.00147/1.064, allocations: 0.9149 MB / 1.242 GB, free: 5.129 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.008943/1.073, allocations: 4.206 MB / 1.246 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.073, allocations: 0 / 1.246 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.874e-06/1.073, allocations: 4 kB / 1.246 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.901e-05/1.073, allocations: 0 / 1.246 GB, free: 0.9062 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: 273 * Number of variables: 273 Notification: Performance of Generate backend data structure: time 0.003686/1.077, allocations: 1.922 MB / 1.247 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/1.077, allocations: 12.03 kB / 1.248 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002354/1.077, allocations: 168.7 kB / 1.248 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003322/1.08, allocations: 0.5986 MB / 1.248 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/1.084, allocations: 1.893 MB / 1.25 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006682/1.085, allocations: 218 kB / 1.25 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/1.085, allocations: 115.9 kB / 1.25 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/1.088, allocations: 1.398 MB / 1.252 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/1.088, allocations: 11.94 kB / 1.252 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/1.088, allocations: 48 kB / 1.252 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.883e-05/1.088, allocations: 45.92 kB / 1.252 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/1.091, allocations: 1.062 MB / 1.253 GB, free: 9.176 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.008997/1.1, allocations: 6.992 MB / 1.26 GB, free: 1.793 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/1.101, allocations: 382.5 kB / 1.26 GB, free: 1.41 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/1.102, allocations: 124.8 kB / 1.26 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/1.102, allocations: 190.2 kB / 1.26 GB, free: 1.062 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.102, allocations: 42.5 kB / 1.26 GB, free: 1.012 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005625/1.102, allocations: 71.06 kB / 1.261 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=20): time 2.735e-06/1.102, allocations: 0 / 1.261 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of matching and sorting (n=20): time 0.001461/1.104, allocations: 0.5322 MB / 1.261 GB, free: 412 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/1.104, allocations: 63.33 kB / 1.261 GB, free: 336 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/1.107, allocations: 1.734 MB / 1.263 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 7.415e-05/1.107, allocations: 29.7 kB / 1.263 GB, free: 14.56 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006698/1.107, allocations: 0.8327 MB / 1.264 GB, free: 13.72 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.839e-05/1.107, allocations: 82.92 kB / 1.264 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/1.107, allocations: 12 kB / 1.264 GB, free: 13.63 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.108, allocations: 337.9 kB / 1.264 GB, free: 13.29 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007838/1.108, allocations: 289.8 kB / 1.264 GB, free: 13.01 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/1.11, allocations: 0.677 MB / 1.265 GB, free: 12.14 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/1.111, allocations: 0.8496 MB / 1.266 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.111, allocations: 4 kB / 1.266 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002414/1.113, allocations: 1.058 MB / 1.267 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003224/1.114, allocations: 449.9 kB / 1.267 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/1.114, allocations: 12 kB / 1.267 GB, free: 9.434 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/1.114, allocations: 20 kB / 1.267 GB, free: 9.414 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/1.115, allocations: 207.6 kB / 1.268 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/1.115, allocations: 23.92 kB / 1.268 GB, free: 9.188 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/1.116, allocations: 176.4 kB / 1.268 GB, free: 9.016 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/1.116, allocations: 39.98 kB / 1.268 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/1.116, allocations: 4 kB / 1.268 GB, free: 8.973 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001705/1.118, allocations: 0.8039 MB / 1.269 GB, free: 8.168 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.118, allocations: 12.88 kB / 1.269 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.118, allocations: 19.94 kB / 1.269 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006556/1.119, allocations: 191.6 kB / 1.269 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/1.119, allocations: 19.94 kB / 1.269 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/1.12, allocations: 140.4 kB / 1.269 GB, free: 7.793 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/1.12, allocations: 36 kB / 1.269 GB, free: 7.758 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (84): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.001036/1.121, allocations: 0.5202 MB / 1.269 GB, free: 7.227 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002681/1.122, allocations: 162 kB / 1.27 GB, free: 7.066 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001092/1.123, allocations: 432.8 kB / 1.27 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.123, allocations: 4 kB / 1.27 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.123, allocations: 0 / 1.27 GB, free: 6.625 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.123, allocations: 0 / 1.27 GB, free: 6.625 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.002601/1.125, allocations: 1.522 MB / 1.271 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/1.125, allocations: 4.188 kB / 1.272 GB, free: 5.016 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003214/1.126, allocations: 55.91 kB / 1.272 GB, free: 4.961 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/1.126, allocations: 4 kB / 1.272 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/1.126, allocations: 7.984 kB / 1.272 GB, free: 4.949 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.573e-06/1.126, allocations: 4 kB / 1.272 GB, free: 4.945 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.126, allocations: 11.88 kB / 1.272 GB, free: 4.934 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/1.127, allocations: 0.5652 MB / 1.272 GB, free: 4.328 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/1.127, allocations: 287 kB / 1.272 GB, free: 4.027 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000156/1.127, allocations: 8 kB / 1.272 GB, free: 4.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008618/1.128, allocations: 79.92 kB / 1.272 GB, free: 3.941 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/1.128, allocations: 23.92 kB / 1.273 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/1.128, allocations: 15.98 kB / 1.273 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002074/1.13, allocations: 1.206 MB / 1.274 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.1e-07/1.131, allocations: 0 / 1.274 GB, free: 2.707 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001897/1.132, allocations: 0.6627 MB / 1.274 GB, free: 2.043 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001813/1.134, allocations: 1.29 MB / 1.276 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002339/1.137, allocations: 0.9493 MB / 1.277 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.137, allocations: 7.938 kB / 1.277 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000352/1.137, allocations: 129.9 kB / 1.277 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/1.141, allocations: 0.8191 MB / 1.277 GB, free: 14.81 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/1.167, allocations: 12.15 MB / 1.289 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.168, allocations: 1.284 MB / 1.291 GB, free: 0.5195 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001779/1.17, allocations: 346 kB / 1.291 GB, free: 180 kB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008875/1.171, allocations: 0.5853 MB / 1.291 GB, free: 15.59 MB / 0.823 GB Notification: Performance of SimCode: time 9.72e-07/1.171, allocations: 0 / 1.291 GB, free: 15.59 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06859/1.239, allocations: 40.19 MB / 1.331 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/1.24, allocations: 218.2 kB / 1.331 GB, free: 7.516 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.344/4.584, allocations: 3.938 kB / 1.331 GB, free: 7.512 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FMI_Validation_HeaterFan_noReverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan_noReverseFlow.pipe 2>&1)