Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan") translateModel(Buildings.Fluid.FMI.Validation.HeaterFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001611/0.001611, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7451 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 64.19 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4228, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 1.29/1.713, allocations: 312.7 MB / 1.374 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04004/1.753, allocations: 29.37 MB / 1.402 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004768/1.757, allocations: 82.97 kB / 1.402 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01153/1.769, allocations: 4.877 MB / 1.407 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/1.782, allocations: 3.037 MB / 1.41 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.009829/1.791, allocations: 2.624 MB / 1.413 GB, free: 9.223 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01473/1.806, allocations: 7.404 MB / 1.42 GB, free: 5.281 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004843/1.811, allocations: 2.064 MB / 1.422 GB, free: 3.977 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007561/1.819, allocations: 2.355 MB / 1.424 GB, free: 2.531 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0042/1.823, allocations: 1.485 MB / 1.426 GB, free: 1.598 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/1.824, allocations: 244.4 kB / 1.426 GB, free: 1.598 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008754/1.833, allocations: 3.596 MB / 1.429 GB, free: 15.62 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001488/1.834, allocations: 0.8055 MB / 1.43 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.00338/1.838, allocations: 1.384 MB / 1.431 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01191/1.85, allocations: 5.314 MB / 1.437 GB, free: 9.281 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.934e-06/1.85, allocations: 0 / 1.437 GB, free: 9.281 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.124e-06/1.85, allocations: 4 kB / 1.437 GB, free: 9.277 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0001523/1.85, allocations: 0 / 1.437 GB, free: 9.277 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.008913/1.859, allocations: 2.912 MB / 1.439 GB, free: 6.293 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.62e-05/1.859, allocations: 12.03 kB / 1.439 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00681/1.866, allocations: 0.9336 MB / 1.44 GB, free: 5.344 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/1.878, allocations: 5.629 MB / 1.446 GB, free: 15.66 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004809/1.879, allocations: 158.5 kB / 1.446 GB, free: 15.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005081/1.879, allocations: 132 kB / 1.446 GB, free: 15.37 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/1.884, allocations: 1.59 MB / 1.448 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.373e-05/1.884, allocations: 7.938 kB / 1.448 GB, free: 13.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/1.884, allocations: 56 kB / 1.448 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.105e-05/1.884, allocations: 46.5 kB / 1.448 GB, free: 13.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003858/1.888, allocations: 1.333 MB / 1.449 GB, free: 12.27 MB / 1.061 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.01294/1.901, allocations: 7.691 MB / 1.457 GB, free: 4.047 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/1.903, allocations: 0.674 MB / 1.457 GB, free: 3.348 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/1.904, allocations: 261.4 kB / 1.458 GB, free: 3.09 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003185/1.904, allocations: 190.2 kB / 1.458 GB, free: 2.867 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.904, allocations: 42.5 kB / 1.458 GB, free: 2.816 MB / 1.061 GB Notification: Performance of pre-optimization done (n=35): time 2.806e-06/1.904, allocations: 3.938 kB / 1.458 GB, free: 2.812 MB / 1.061 GB Notification: Performance of matching and sorting (n=35): time 0.003211/1.907, allocations: 1.042 MB / 1.459 GB, free: 1.723 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/1.908, allocations: 59.34 kB / 1.459 GB, free: 1.652 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005855/1.913, allocations: 2.364 MB / 1.461 GB, free: 15.27 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001947/1.914, allocations: 33.7 kB / 1.461 GB, free: 15.23 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.915, allocations: 0.9612 MB / 1.462 GB, free: 14.26 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/1.915, allocations: 130.1 kB / 1.462 GB, free: 14.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005976/1.916, allocations: 262.3 kB / 1.463 GB, free: 13.86 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.916, allocations: 353.9 kB / 1.463 GB, free: 13.51 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001347/1.917, allocations: 0.5165 MB / 1.463 GB, free: 12.99 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001527/1.919, allocations: 0.7934 MB / 1.464 GB, free: 12.08 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002189/1.921, allocations: 1.121 MB / 1.465 GB, free: 10.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/1.921, allocations: 0 / 1.465 GB, free: 10.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004163/1.925, allocations: 1.632 MB / 1.467 GB, free: 9.203 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/1.925, allocations: 8.375 kB / 1.467 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.891e-05/1.925, allocations: 12 kB / 1.467 GB, free: 9.184 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002672/1.926, allocations: 36.84 kB / 1.467 GB, free: 9.145 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.927, allocations: 235.7 kB / 1.467 GB, free: 8.914 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/1.928, allocations: 1.585 MB / 1.469 GB, free: 7.191 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/1.931, allocations: 246.9 kB / 1.469 GB, free: 6.949 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/1.931, allocations: 51.91 kB / 1.469 GB, free: 6.898 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00271/1.934, allocations: 1.014 MB / 1.47 GB, free: 5.883 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001464/1.935, allocations: 0.7778 MB / 1.471 GB, free: 4.988 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00203/1.938, allocations: 1.101 MB / 1.472 GB, free: 3.789 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.568e-05/1.938, allocations: 4 kB / 1.472 GB, free: 3.785 MB / 1.076 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.00394/1.941, allocations: 1.623 MB / 1.473 GB, free: 2.129 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.942, allocations: 9.719 kB / 1.473 GB, free: 2.121 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/1.942, allocations: 8 kB / 1.473 GB, free: 2.113 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001364/1.942, allocations: 32.84 kB / 1.473 GB, free: 2.078 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.943, allocations: 239.8 kB / 1.474 GB, free: 1.844 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/1.944, allocations: 1.568 MB / 1.475 GB, free: 144 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/1.946, allocations: 184.5 kB / 1.475 GB, free: 15.96 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.947, allocations: 35.98 kB / 1.475 GB, free: 15.93 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 100 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003362/1.947, allocations: 230.2 kB / 1.476 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005722/1.948, allocations: 205.4 kB / 1.476 GB, free: 15.49 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/1.95, allocations: 0.7665 MB / 1.477 GB, free: 14.68 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.95, allocations: 4 kB / 1.477 GB, free: 14.68 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/1.95, allocations: 7.938 kB / 1.477 GB, free: 14.67 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.95, allocations: 7.984 kB / 1.477 GB, free: 14.66 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004829/1.955, allocations: 2.154 MB / 1.479 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.955, allocations: 4.219 kB / 1.479 GB, free: 12.41 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/1.955, allocations: 99.86 kB / 1.479 GB, free: 12.31 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/1.955, allocations: 32.78 kB / 1.479 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.916e-05/1.956, allocations: 8 kB / 1.479 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/1.957, allocations: 1.564 MB / 1.48 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.957, allocations: 4 kB / 1.48 GB, free: 10.56 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/1.959, allocations: 0.8774 MB / 1.481 GB, free: 9.621 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/1.96, allocations: 354.3 kB / 1.482 GB, free: 9.254 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005566/1.96, allocations: 8 kB / 1.482 GB, free: 9.246 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.962, allocations: 83.7 kB / 1.482 GB, free: 9.164 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.96e-05/1.962, allocations: 27.91 kB / 1.482 GB, free: 9.137 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.612e-05/1.962, allocations: 19.98 kB / 1.482 GB, free: 9.117 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003985/1.966, allocations: 1.643 MB / 1.483 GB, free: 7.465 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.81e-07/1.966, allocations: 0 / 1.483 GB, free: 7.465 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.003859/1.97, allocations: 0.8892 MB / 1.484 GB, free: 6.574 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001258/1.971, allocations: 446.8 kB / 1.485 GB, free: 6.125 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00467/1.976, allocations: 1.852 MB / 1.486 GB, free: 4.25 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.976, allocations: 0 / 1.486 GB, free: 4.25 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0007954/1.976, allocations: 348 kB / 1.487 GB, free: 3.898 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006833/1.983, allocations: 1.257 MB / 1.488 GB, free: 2.676 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007453/1.991, allocations: 3.303 MB / 1.491 GB, free: 15.32 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001986/1.993, allocations: 1.534 MB / 1.493 GB, free: 13.75 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.002941/1.996, allocations: 477.8 kB / 1.493 GB, free: 13.28 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005195/1.996, allocations: 139.4 kB / 1.493 GB, free: 13.14 MB / 1.107 GB Notification: Performance of SimCode: time 1.072e-06/1.996, allocations: 0 / 1.493 GB, free: 13.14 MB / 1.107 GB Notification: Performance of Templates: time 0.07931/2.076, allocations: 41.59 MB / 1.534 GB, free: 4.016 MB / 1.139 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.sim & ./Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.FMI.Validation.HeaterFan.pipe 2>&1)