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: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.432/1.432, allocations: 252 MB / 267.6 MB, free: 10.91 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.001409/0.001409, allocations: 179.7 kB / 327.3 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 2.117/2.117, allocations: 205.4 MB / 0.5783 GB, free: 20.21 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.0009889/0.000989, allocations: 82.36 kB / 0.6829 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003259/0.0003261, allocations: 11.22 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.1994, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.7679/0.9674, allocations: 286.1 MB / 1.18 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03695/1.004, allocations: 28.22 MB / 1.208 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003746/1.008, allocations: 72.31 kB / 1.208 GB, free: 6.094 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004532/1.013, allocations: 0.9668 MB / 1.209 GB, free: 5.309 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.008269/1.021, allocations: 2.275 MB / 1.211 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005961/1.027, allocations: 1.74 MB / 1.213 GB, free: 2.359 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00788/1.035, allocations: 5.108 MB / 1.218 GB, free: 13.87 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002877/1.038, allocations: 1.379 MB / 1.219 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/1.042, allocations: 1.72 MB / 1.221 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002986/1.045, allocations: 1.291 MB / 1.222 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003568/1.046, allocations: 72 kB / 1.222 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005674/1.051, allocations: 2.011 MB / 1.224 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008269/1.052, allocations: 486.2 kB / 1.225 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/1.053, allocations: 460.7 kB / 1.225 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.005643/1.059, allocations: 3.405 MB / 1.228 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/1.059, allocations: 0 / 1.228 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.475e-06/1.059, allocations: 0 / 1.228 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.596e-05/1.059, allocations: 0 / 1.228 GB, free: 3.008 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.004457/1.064, allocations: 2.111 MB / 1.23 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.064, allocations: 8.031 kB / 1.23 GB, free: 0.8242 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/1.069, allocations: 0.8405 MB / 1.231 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004075/1.073, allocations: 1.922 MB / 1.233 GB, free: 14 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007011/1.074, allocations: 234.5 kB / 1.233 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/1.074, allocations: 132 kB / 1.233 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003706/1.078, allocations: 1.657 MB / 1.235 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/1.078, allocations: 7.938 kB / 1.235 GB, free: 11.92 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/1.078, allocations: 56 kB / 1.235 GB, free: 11.87 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/1.078, allocations: 42.52 kB / 1.235 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003841/1.082, allocations: 1.505 MB / 1.237 GB, free: 10.31 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.01189/1.094, allocations: 7.402 MB / 1.244 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002417/1.096, allocations: 0.6826 MB / 1.244 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007747/1.097, allocations: 305.3 kB / 1.245 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/1.097, allocations: 189.9 kB / 1.245 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/1.097, allocations: 38.56 kB / 1.245 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008651/1.098, allocations: 90.86 kB / 1.245 GB, free: 1.051 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=37): time 2.365e-06/1.098, allocations: 7.938 kB / 1.245 GB, free: 1.043 MB / 0.7605 GB Notification: Performance of matching and sorting (n=37): time 0.003354/1.102, allocations: 1.305 MB / 1.246 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/1.102, allocations: 59.16 kB / 1.246 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00308/1.105, allocations: 1.851 MB / 1.248 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.28e-05/1.105, allocations: 37.7 kB / 1.248 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007458/1.106, allocations: 0.8196 MB / 1.249 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/1.106, allocations: 130.2 kB / 1.249 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/1.106, allocations: 12 kB / 1.249 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001505/1.106, allocations: 333.9 kB / 1.25 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/1.107, allocations: 409.1 kB / 1.25 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/1.109, allocations: 0.6547 MB / 1.251 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.11, allocations: 465.3 kB / 1.251 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.11, allocations: 0 / 1.251 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00346/1.114, allocations: 1.389 MB / 1.252 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002024/1.114, allocations: 277 kB / 1.253 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/1.114, allocations: 4 kB / 1.253 GB, free: 8.918 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/1.114, allocations: 65.61 kB / 1.253 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/1.115, allocations: 223.7 kB / 1.253 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/1.117, allocations: 2.821 MB / 1.256 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/1.12, allocations: 278.4 kB / 1.256 GB, free: 5.273 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.12, allocations: 31.98 kB / 1.256 GB, free: 5.242 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/1.12, allocations: 8 kB / 1.256 GB, free: 5.234 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00278/1.123, allocations: 1.155 MB / 1.257 GB, free: 4.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.123, allocations: 4 kB / 1.257 GB, free: 4.031 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/1.123, allocations: 65.62 kB / 1.257 GB, free: 3.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.124, allocations: 208 kB / 1.257 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/1.126, allocations: 2.817 MB / 1.26 GB, free: 0.6758 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/1.128, allocations: 216.3 kB / 1.26 GB, free: 476 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/1.129, allocations: 31.98 kB / 1.26 GB, free: 444 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.001134/1.13, allocations: 0.5172 MB / 1.261 GB, free: 15.9 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/1.13, allocations: 169.8 kB / 1.261 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.132, allocations: 0.9256 MB / 1.262 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/1.132, allocations: 7.938 kB / 1.262 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.132, allocations: 0 / 1.262 GB, free: 14.74 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/1.132, allocations: 7.938 kB / 1.262 GB, free: 14.73 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.003878/1.136, allocations: 2.174 MB / 1.264 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.136, allocations: 0 / 1.264 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008116/1.137, allocations: 99.98 kB / 1.264 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001421/1.137, allocations: 45.7 kB / 1.264 GB, free: 12.29 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/1.137, allocations: 11.98 kB / 1.264 GB, free: 12.28 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/1.139, allocations: 2.829 MB / 1.267 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.139, allocations: 4 kB / 1.267 GB, free: 9.18 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/1.141, allocations: 1.001 MB / 1.268 GB, free: 8.102 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/1.142, allocations: 330.9 kB / 1.268 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/1.142, allocations: 4 kB / 1.268 GB, free: 7.754 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/1.143, allocations: 139.8 kB / 1.268 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/1.144, allocations: 27.91 kB / 1.268 GB, free: 7.59 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.317e-05/1.144, allocations: 19.98 kB / 1.268 GB, free: 7.57 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002517/1.146, allocations: 1.313 MB / 1.27 GB, free: 6.234 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.9e-07/1.146, allocations: 4 kB / 1.27 GB, free: 6.23 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002627/1.149, allocations: 0.7602 MB / 1.27 GB, free: 5.469 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.0006887/1.149, allocations: 291.1 kB / 1.271 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004089/1.154, allocations: 1.719 MB / 1.272 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.154, allocations: 1.125 kB / 1.272 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0008973/1.154, allocations: 0.5012 MB / 1.273 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00456/1.159, allocations: 0.9762 MB / 1.274 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/1.164, allocations: 3.203 MB / 1.277 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009943/1.165, allocations: 1.336 MB / 1.278 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/1.166, allocations: 139.3 kB / 1.278 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of SimCode: time 9.82e-07/1.166, allocations: 0 / 1.278 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of Templates: time 0.06126/1.227, allocations: 47.96 MB / 1.325 GB, free: 13.32 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)