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.517/1.517, allocations: 252 MB / 268 MB, free: 10.87 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.001242/0.001242, allocations: 182.2 kB / 327.6 MB, free: 2.113 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.693/1.693, allocations: 205.4 MB / 0.5786 GB, free: 20.19 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.0008938/0.0008939, allocations: 98.23 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003089/0.0003089, allocations: 8.656 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2081, allocations: 106.3 MB / 0.9014 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.7629/0.971, allocations: 306.8 MB / 1.201 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03818/1.009, allocations: 30.42 MB / 1.231 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003456/1.013, allocations: 67.56 kB / 1.231 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004467/1.017, allocations: 1.337 MB / 1.232 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.008879/1.026, allocations: 2.94 MB / 1.235 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006537/1.033, allocations: 2.361 MB / 1.237 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.00792/1.041, allocations: 5.974 MB / 1.243 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002976/1.044, allocations: 1.599 MB / 1.245 GB, free: 2.691 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/1.048, allocations: 1.852 MB / 1.247 GB, free: 0.832 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003508/1.052, allocations: 1.366 MB / 1.248 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005074/1.052, allocations: 72 kB / 1.248 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007429/1.06, allocations: 3.616 MB / 1.251 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/1.061, allocations: 0.498 MB / 1.252 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/1.063, allocations: 0.9927 MB / 1.253 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.005708/1.069, allocations: 3.565 MB / 1.256 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/1.069, allocations: 0 / 1.256 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.681e-06/1.069, allocations: 0 / 1.256 GB, free: 6.691 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001281/1.069, allocations: 7.938 kB / 1.256 GB, free: 6.684 MB / 0.7761 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.004954/1.074, allocations: 2.091 MB / 1.258 GB, free: 4.527 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/1.074, allocations: 12.03 kB / 1.258 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005037/1.079, allocations: 0.8287 MB / 1.259 GB, free: 3.684 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/1.083, allocations: 1.987 MB / 1.261 GB, free: 1.641 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006787/1.084, allocations: 234.5 kB / 1.261 GB, free: 1.41 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/1.084, allocations: 140 kB / 1.262 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003742/1.088, allocations: 1.661 MB / 1.263 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.682e-05/1.088, allocations: 4 kB / 1.263 GB, free: 15.55 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001328/1.088, allocations: 52 kB / 1.263 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.517e-05/1.088, allocations: 50.45 kB / 1.263 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003862/1.092, allocations: 1.517 MB / 1.265 GB, free: 13.93 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 preOpt removeSimpleEquations (simulation): time 0.01098/1.103, allocations: 7.398 MB / 1.272 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/1.105, allocations: 0.6826 MB / 1.273 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007766/1.106, allocations: 305.3 kB / 1.273 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/1.106, allocations: 197.9 kB / 1.273 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/1.106, allocations: 34.56 kB / 1.273 GB, free: 4.754 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001092/1.107, allocations: 86.88 kB / 1.273 GB, free: 4.668 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 6.072e-06/1.107, allocations: 7.984 kB / 1.273 GB, free: 4.66 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.003624/1.111, allocations: 1.309 MB / 1.275 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/1.111, allocations: 63.16 kB / 1.275 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/1.115, allocations: 1.866 MB / 1.276 GB, free: 1.277 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/1.115, allocations: 38.25 kB / 1.276 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007863/1.116, allocations: 0.8114 MB / 1.277 GB, free: 424 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/1.116, allocations: 138 kB / 1.277 GB, free: 284 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/1.116, allocations: 8 kB / 1.277 GB, free: 276 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001512/1.116, allocations: 337.9 kB / 1.278 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/1.117, allocations: 425 kB / 1.278 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/1.119, allocations: 0.6676 MB / 1.279 GB, free: 14.74 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/1.121, allocations: 0.8802 MB / 1.28 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/1.121, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003341/1.124, allocations: 1.416 MB / 1.281 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001795/1.124, allocations: 284.3 kB / 1.281 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/1.124, allocations: 12 kB / 1.281 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/1.124, allocations: 61.62 kB / 1.281 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.126, allocations: 219.7 kB / 1.282 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/1.128, allocations: 2.809 MB / 1.284 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/1.13, allocations: 284.2 kB / 1.285 GB, free: 8.293 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.65e-05/1.13, allocations: 35.98 kB / 1.285 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/1.13, allocations: 4 kB / 1.285 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002652/1.133, allocations: 1.159 MB / 1.286 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.133, allocations: 8 kB / 1.286 GB, free: 7.043 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/1.133, allocations: 61.73 kB / 1.286 GB, free: 6.977 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009881/1.134, allocations: 211.8 kB / 1.286 GB, free: 6.77 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/1.136, allocations: 2.825 MB / 1.289 GB, free: 3.676 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/1.138, allocations: 208.4 kB / 1.289 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/1.138, allocations: 28 kB / 1.289 GB, free: 3.445 MB / 0.8073 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001032/1.139, allocations: 0.5281 MB / 1.29 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/1.139, allocations: 165.9 kB / 1.29 GB, free: 2.742 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/1.141, allocations: 0.9355 MB / 1.291 GB, free: 1.746 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.141, allocations: 3.938 kB / 1.291 GB, free: 1.742 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.141, allocations: 8 kB / 1.291 GB, free: 1.734 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.141, allocations: 0 / 1.291 GB, free: 1.734 MB / 0.8073 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.003738/1.145, allocations: 2.174 MB / 1.293 GB, free: 15.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/1.145, allocations: 0 / 1.293 GB, free: 15.44 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/1.146, allocations: 99.98 kB / 1.293 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001376/1.146, allocations: 53.62 kB / 1.293 GB, free: 15.29 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/1.146, allocations: 11.98 kB / 1.293 GB, free: 15.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/1.148, allocations: 2.829 MB / 1.296 GB, free: 12.18 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/1.148, allocations: 0 / 1.296 GB, free: 12.18 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/1.15, allocations: 0.9896 MB / 1.297 GB, free: 11.11 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005948/1.15, allocations: 326.9 kB / 1.297 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/1.151, allocations: 11.94 kB / 1.297 GB, free: 10.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.152, allocations: 139.7 kB / 1.297 GB, free: 10.62 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/1.152, allocations: 35.97 kB / 1.297 GB, free: 10.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.157e-05/1.152, allocations: 19.98 kB / 1.297 GB, free: 10.57 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002254/1.154, allocations: 1.328 MB / 1.298 GB, free: 9.219 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.9e-07/1.154, allocations: 0 / 1.298 GB, free: 9.219 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002174/1.156, allocations: 0.7602 MB / 1.299 GB, free: 8.457 MB / 0.823 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006289/1.157, allocations: 294.9 kB / 1.299 GB, free: 8.156 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003946/1.161, allocations: 1.735 MB / 1.301 GB, free: 6.371 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.161, allocations: 4 kB / 1.301 GB, free: 6.367 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008596/1.162, allocations: 0.4946 MB / 1.302 GB, free: 5.848 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/1.167, allocations: 0.9785 MB / 1.303 GB, free: 4.883 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005013/1.172, allocations: 3.317 MB / 1.306 GB, free: 1.516 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008919/1.173, allocations: 1.34 MB / 1.307 GB, free: 152 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004937/1.173, allocations: 127.4 kB / 1.307 GB, free: 24 kB / 0.823 GB Notification: Performance of SimCode: time 7.52e-07/1.173, allocations: 0 / 1.307 GB, free: 24 kB / 0.823 GB Notification: Performance of Templates: time 0.05877/1.232, allocations: 47.92 MB / 1.354 GB, free: 220 kB / 0.8698 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)