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.394/1.394, allocations: 251.5 MB / 267.4 MB, free: 11.07 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.001025/0.001025, allocations: 173.6 kB / 326.5 MB, free: 2.684 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.739/1.739, allocations: 205 MB / 0.5766 GB, free: 20.99 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.0006849/0.0006849, allocations: 91.86 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003386, allocations: 9 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1933, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Validation.HeaterFan): time 0.6751/0.8685, allocations: 310.7 MB / 1.2 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0398/0.9083, allocations: 30.81 MB / 1.23 GB, free: 2.426 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00368/0.9121, allocations: 71.56 kB / 1.23 GB, free: 2.355 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Inlet.mo:38:3-40:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Outlet.mo:39:3-41:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Outlet.mo:45:3-46:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Outlet.mo:47:3-48:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Inlet.mo:38:3-40:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Inlet.mo:43:3-44:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Inlet.mo:45:3-46:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Outlet.mo:39:3-41:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Outlet.mo:45:3-46:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Adaptors/Outlet.mo:47:3-48:71:writable] Warning: Connector X_w_out_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FMI/Sink_T.mo:49:3-51:60:writable] Warning: Connector bacPro_internal is not balanced: The number of potential variables (2) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.004651/0.9167, allocations: 1.339 MB / 1.232 GB, free: 1.012 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008655/0.9254, allocations: 2.934 MB / 1.234 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.006552/0.932, allocations: 2.361 MB / 1.237 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.008155/0.9402, allocations: 5.976 MB / 1.243 GB, free: 5.723 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003109/0.9433, allocations: 1.603 MB / 1.244 GB, free: 4.074 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004707/0.948, allocations: 1.86 MB / 1.246 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00349/0.9515, allocations: 1.363 MB / 1.247 GB, free: 0.8438 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.000301/0.9519, allocations: 72 kB / 1.247 GB, free: 0.7734 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007328/0.9592, allocations: 3.612 MB / 1.251 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0007935/0.96, allocations: 0.4941 MB / 1.251 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.9615, allocations: 0.9715 MB / 1.252 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.007824/0.9694, allocations: 4.65 MB / 1.257 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.9694, allocations: 0 / 1.257 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.103e-06/0.9694, allocations: 3.938 kB / 1.257 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.751e-05/0.9695, allocations: 4 kB / 1.257 GB, free: 7.008 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.004023/0.9735, allocations: 2.095 MB / 1.259 GB, free: 4.848 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.9736, allocations: 8.031 kB / 1.259 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004694/0.9783, allocations: 0.8326 MB / 1.26 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/0.9816, allocations: 1.983 MB / 1.262 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006736/0.9823, allocations: 238.4 kB / 1.262 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.9825, allocations: 135.9 kB / 1.262 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003401/0.9859, allocations: 1.661 MB / 1.264 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.986, allocations: 0 / 1.264 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.9861, allocations: 59.94 kB / 1.264 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-05/0.9861, allocations: 50.45 kB / 1.264 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003683/0.9898, allocations: 1.509 MB / 1.265 GB, free: 14.25 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.01068/1.001, allocations: 7.398 MB / 1.272 GB, free: 6.348 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/1.003, allocations: 0.6904 MB / 1.273 GB, free: 5.648 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006983/1.004, allocations: 305.3 kB / 1.273 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000276/1.004, allocations: 186 kB / 1.274 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/1.004, allocations: 38.55 kB / 1.274 GB, free: 5.082 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006233/1.004, allocations: 86.88 kB / 1.274 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=37): time 5.35e-06/1.005, allocations: 4 kB / 1.274 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37): time 0.002947/1.007, allocations: 1.314 MB / 1.275 GB, free: 3.59 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.734e-05/1.008, allocations: 63.16 kB / 1.275 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/1.01, allocations: 1.866 MB / 1.277 GB, free: 1.605 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 8.404e-05/1.01, allocations: 37.7 kB / 1.277 GB, free: 1.562 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/1.011, allocations: 0.8114 MB / 1.278 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/1.011, allocations: 138 kB / 1.278 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/1.011, allocations: 57.69 kB / 1.278 GB, free: 0.543 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.012, allocations: 333.9 kB / 1.278 GB, free: 216 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.013, allocations: 421.1 kB / 1.279 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001371/1.014, allocations: 0.6754 MB / 1.279 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/1.016, allocations: 0.8763 MB / 1.28 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.016, allocations: 0 / 1.28 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.003265/1.019, allocations: 1.428 MB / 1.282 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/1.02, allocations: 280.2 kB / 1.282 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.02, allocations: 11.94 kB / 1.282 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002012/1.02, allocations: 53.7 kB / 1.282 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/1.021, allocations: 215.7 kB / 1.282 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/1.023, allocations: 2.821 MB / 1.285 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/1.025, allocations: 276.3 kB / 1.285 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-05/1.025, allocations: 39.98 kB / 1.285 GB, free: 8.523 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/1.025, allocations: 7.938 kB / 1.285 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002612/1.028, allocations: 1.155 MB / 1.286 GB, free: 7.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.028, allocations: 8 kB / 1.286 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001325/1.028, allocations: 57.7 kB / 1.286 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000978/1.029, allocations: 203.9 kB / 1.287 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/1.031, allocations: 2.825 MB / 1.289 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/1.033, allocations: 211.8 kB / 1.29 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/1.033, allocations: 31.98 kB / 1.29 GB, free: 3.723 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.0009148/1.034, allocations: 0.5204 MB / 1.29 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/1.034, allocations: 173.9 kB / 1.29 GB, free: 3.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001911/1.036, allocations: 0.9276 MB / 1.291 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/1.036, allocations: 8.078 kB / 1.291 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.036, allocations: 0 / 1.291 GB, free: 2.023 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/1.037, allocations: 326.8 kB / 1.291 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/1.037, allocations: 4 kB / 1.291 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.038, allocations: 131.8 kB / 1.292 GB, free: 1.551 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.395e-05/1.038, allocations: 31.95 kB / 1.292 GB, free: 1.52 MB / 0.8073 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001917/1.04, allocations: 0.7011 MB / 1.292 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002228/1.042, allocations: 1.168 MB / 1.293 GB, free: 15.61 MB / 0.823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005936/1.043, allocations: 243.9 kB / 1.294 GB, free: 15.38 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.002393/1.045, allocations: 1.328 MB / 1.295 GB, free: 14.02 MB / 0.823 GB Notification: Performance of Backend: time 8.62e-07/1.045, allocations: 4 kB / 1.295 GB, free: 14.02 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00557/1.051, allocations: 2.222 MB / 1.297 GB, free: 11.74 MB / 0.823 GB Notification: Performance of SimCode: time 0.007688/1.059, allocations: 4.443 MB / 1.301 GB, free: 7.254 MB / 0.823 GB Notification: Performance of Templates: time 0.0695/1.128, allocations: 44.09 MB / 1.345 GB, free: 11.44 MB / 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)